Lines Matching refs:NativeDisplay
32 // NativeDisplay
34 NativeDisplay::NativeDisplay (Capability capabilities, EGLenum platformType, const char* platformExtension)
43 NativeDisplay::NativeDisplay (Capability capabilities)
52 NativeDisplay::~NativeDisplay (void)
56 EGLNativeDisplayType NativeDisplay::getLegacyNative (void)
58 // If NativeDisplay claims to support CAPABILITY_GET_DISPLAY_LEGACY then
61 TCU_THROW(NotSupportedError, "eglu::NativeDisplay can't be used with eglGetDisplay()");
64 void* NativeDisplay::getPlatformNative (void)
66 // If NativeDisplay claims to support CAPABILITY_GET_DISPLAY_PLATFORM then
69 TCU_THROW(NotSupportedError, "eglu::NativeDisplay can't be used with eglGetPlatformDisplay()");
72 const EGLAttrib* NativeDisplay::getPlatformAttributes (void) const
74 // If NativeDisplay claims to support CAPABILITY_GET_DISPLAY_PLATFORM then
77 TCU_THROW(NotSupportedError, "eglu::NativeDisplay can't be used with eglGetPlatformDisplay()");
82 NativeDisplayFactory::NativeDisplayFactory (const std::string& name, const std::string& description, NativeDisplay::Capability capabilities, EGLenum platformType, const char* platformExtension)
89 DE_ASSERT(capabilities & NativeDisplay::CAPABILITY_GET_DISPLAY_PLATFORM);
92 NativeDisplayFactory::NativeDisplayFactory (const std::string& name, const std::string& description, NativeDisplay::Capability capabilities)
98 DE_ASSERT(!(capabilities & NativeDisplay::CAPABILITY_GET_DISPLAY_PLATFORM));
99 DE_ASSERT(capabilities & NativeDisplay::CAPABILITY_GET_DISPLAY_LEGACY);