Namespaces

Records

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