Namespaces
Records
-
class DebugShapeTest -
class DebugShapeTest_Lines_Test -
class DebugShapeTest_Text_Test -
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 GammaCorrectionTest_SomeCorrectedSomeNot_Test -
class ImageLayoutUpdaterTest_SetLayout_Test -
class ImageLayoutUpdaterTest_SubmitToGraphicsCommandBuffer_Test -
class ImageLayoutUpdaterTest_SubmitToTransferCommandBuffer_Test -
class OpacityShapeTest_OpaqueOverTranslucent_Test -
class OpacityShapeTest_PremultipliedTexture_Test -
class OpacityShapeTest_TranslucentOverOpaque_Test -
class OpacityShapeTest_TranslucentOverTranslucent_Test -
class PaperRendererTest -
class PaperRendererTest_DISABLED_TransientDepthStencilAndMsaaAttachments_Test -
class PoseBufferTest_ComputeShaderLatching_Test -
class TestWithVkValidationLayer -
class ValidationLayerDefaultHandler_HandlerTest_Test -
class ValidationLayerWithCustomHandler -
class ValidationLayerWithCustomHandler_HandlerTest_Test -
class ValidationLayer_ValidationLayerIsSupported_Test -
class YuvIntegrationTest_Rec709Texture_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
-
bool ComparePose (escher::hmd::Pose * p0, escher::hmd::Pose * p1, float epsilon)Returns true iff |a| and |b| are the same within optional |epsilon|.
Defined at line 26 of file ../../src/ui/lib/escher/test/hmd/pose_buffer_latching_test.cc
-
glm::mat4 MatrixFromPose (const hmd::Pose & pose)Defined at line 53 of file ../../src/ui/lib/escher/test/hmd/pose_buffer_latching_test.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 105 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 110 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 138 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 126 of file ../../src/ui/lib/escher/test/common/gtest_escher.cc
-
bool GlobalEscherUsesSoftwareGpu ()Defined at line 132 of file ../../src/ui/lib/escher/test/common/gtest_escher.cc