Namespaces
Records
-
class EscherEnvironment -
class FakeGpuAllocator -
class FenceListenerTest -
class FenceListenerTest_AsyncFenceListenerSignalling_Test -
class FenceListenerTest_DestroyInClosurePostsignalled_Test -
class FenceListenerTest_DestroyInClosurePresignalled_Test -
class FenceListenerTest_DestroyWhileNotWaiting_Test -
class FenceListenerTest_DestroyWhileWaiting_Test -
class FenceListenerTest_SimpleFenceListenerSignalling_Test -
class FenceQueueTest_DestroyFenceQueueBeforeTask_Test -
class FenceQueueTest_DestroyFenceQueueInTask_Test -
class FenceQueueTest_QueueMultipleTasksWithFences_SignalledInOrder_Test -
class FenceQueueTest_QueueMultipleTasksWithFences_SignalledOutOfOrder_Test -
class FenceQueueTest_QueueTaskWithFence_Test -
class FenceQueueTest_QueueTaskWithMultipleFences_Test -
class FenceQueueTest_QueueTaskWithNoFences_Test -
class FenceSetListenerTest -
class FenceSetListenerTest_DestroyInClosureWithEmptyFenceList_Test -
class FenceSetListenerTest_DestroyInClosureWithSignalledFence_Test -
class FenceSetListenerTest_DestroyInClosureWithUnsignalledFence_Test -
class FenceSetListenerTest_DestroyWhileNotWaiting_Test -
class FenceSetListenerTest_DestroyWhileWaiting_Test -
class FenceSetListenerTest_EmptySet_Test -
class FenceSetListenerTest_ReadyStateSignalled_Test -
class FrameTest_SubmitFrameWithUnsignalledWaitSemaphore_Test -
class ImageLayoutUpdaterTest_SetLayout_Test -
class ImageLayoutUpdaterTest_SubmitToGraphicsCommandBuffer_Test -
class ImageLayoutUpdaterTest_SubmitToTransferCommandBuffer_Test -
class TestWithVkValidationLayer -
class ValidationLayerDefaultHandler_HandlerTest_Test -
class ValidationLayerWithCustomHandler -
class ValidationLayerWithCustomHandler_HandlerTest_Test -
class ValidationLayer_ValidationLayerIsSupported_Test
Functions
-
bool IsEventSignalled (const zx::event & event, zx_signals_t signal)Synchronously checks whether the event has signalled any of the bits in
|signal|.
Defined at line 12 of file ../../src/ui/lib/escher/test/flib/util.cc
-
zx::event CopyEvent (const zx::event & event)Create a duplicate of the event.
Defined at line 18 of file ../../src/ui/lib/escher/test/flib/util.cc
-
Escher * GetEscher ()Must call during tests, only if !VK_TESTS_SUPPRESSED().
|escher::test::EscherEnvironment::RegisterGlobalTestEnvironment()| should be already called.
(Generatlly this should be called before RUN_ALL_TESTS() is invoked in |run_all_unittests.cc|.)
Defined at line 58 of file ../../src/ui/lib/escher/test/common/gtest_escher.cc
-
std::unique_ptr<Escher> CreateEscherWithProtectedMemoryEnabled ()This function must be called after we set up the global EscherEnvironment, i.e. inside test body
functions.
Defined at line 63 of file ../../src/ui/lib/escher/test/common/gtest_escher.cc
-
bool GlobalEscherUsesSwiftShader ()Checks if the global Escher environment uses SwiftShader as its physical
device. This is used in macro SKIP_TEST_IF_ESCHER_USES_DEVICE().
Defined at line 91 of file ../../src/ui/lib/escher/test/common/gtest_escher.cc
-
bool GlobalEscherUsesVirtualGpu ()Checks if the global Escher environment uses an Virtual GPU as its physical
device (for example, on FEMU). This is used in macro
SKIP_TEST_IF_ESCHER_USES_DEVICE().
Defined at line 79 of file ../../src/ui/lib/escher/test/common/gtest_escher.cc
-
bool GlobalEscherUsesSoftwareGpu ()Defined at line 85 of file ../../src/ui/lib/escher/test/common/gtest_escher.cc