소스 검색

nvflinger: Add the Null display

In addition to the default, external, EDID, and internal displays,
there's also a null display provided as well, which as the name
suggests, does nothing but discard all commands given to it. This is
provided for completeness.
Lioncash 7 년 전
부모
커밋
7e92497402
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/core/hle/service/nvflinger/nvflinger.h

+ 2 - 1
src/core/hle/service/nvflinger/nvflinger.h

@@ -85,11 +85,12 @@ private:
 
     std::shared_ptr<Nvidia::Module> nvdrv;
 
-    std::array<Display, 4> displays{{
+    std::array<Display, 5> displays{{
         {0, "Default"},
         {1, "External"},
         {2, "Edid"},
         {3, "Internal"},
+        {4, "Null"},
     }};
     std::vector<std::shared_ptr<BufferQueue>> buffer_queues;