Home
last modified time | relevance | path

Searched refs:eglu (Results 1 – 25 of 131) sorted by relevance

123456

/third_party/flutter/skia/third_party/externals/angle2/src/tests/deqp_support/
DtcuANGLENativeDisplayFactory.cpp59 constexpr eglu::NativeDisplay::Capability kDisplayCapabilities =
60 static_cast<eglu::NativeDisplay::Capability>(
61 eglu::NativeDisplay::CAPABILITY_GET_DISPLAY_PLATFORM |
62 eglu::NativeDisplay::CAPABILITY_GET_DISPLAY_PLATFORM_EXT);
63 constexpr eglu::NativePixmap::Capability kBitmapCapabilities =
64 eglu::NativePixmap::CAPABILITY_CREATE_SURFACE_LEGACY;
65 constexpr eglu::NativeWindow::Capability kWindowCapabilities =
66 static_cast<eglu::NativeWindow::Capability>(
67 eglu::NativeWindow::CAPABILITY_CREATE_SURFACE_LEGACY |
68 eglu::NativeWindow::CAPABILITY_GET_SURFACE_SIZE |
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/
DtcuANGLENativeDisplayFactory.cpp73 constexpr eglu::NativeDisplay::Capability kDisplayCapabilities =
74 static_cast<eglu::NativeDisplay::Capability>(
75 eglu::NativeDisplay::CAPABILITY_GET_DISPLAY_PLATFORM |
76 eglu::NativeDisplay::CAPABILITY_GET_DISPLAY_PLATFORM_EXT);
77 constexpr eglu::NativePixmap::Capability kBitmapCapabilities =
78 eglu::NativePixmap::CAPABILITY_CREATE_SURFACE_LEGACY;
79 constexpr eglu::NativeWindow::Capability kWindowCapabilities =
80 static_cast<eglu::NativeWindow::Capability>(
81 eglu::NativeWindow::CAPABILITY_CREATE_SURFACE_LEGACY |
82 eglu::NativeWindow::CAPABILITY_GET_SURFACE_SIZE |
[all …]
/third_party/vk-gl-cts/framework/platform/win32/
DtcuWin32EGLNativeDisplayFactory.cpp57 static const eglu::NativeDisplay::Capability DISPLAY_CAPABILITIES = eglu::NativeDisplay::CAPABILITY…
58 static const eglu::NativePixmap::Capability BITMAP_CAPABILITIES = eglu::NativePixmap::CAPABILITY_…
59 static const eglu::NativeWindow::Capability WINDOW_CAPABILITIES = (eglu::NativeWindow::Capability)
60 (eglu::NativeWindow::CAPABILITY_CREATE_SURFACE_LEGACY |
61 eglu::NativeWindow::CAPABILITY_GET_SURFACE_SIZE |
62 eglu::NativeWindow::CAPABILITY_GET_SCREEN_SIZE |
63 eglu::NativeWindow::CAPABILITY_READ_SCREEN_PIXELS |
64 eglu::NativeWindow::CAPABILITY_SET_SURFACE_SIZE |
65 eglu::NativeWindow::CAPABILITY_CHANGE_VISIBILITY);
67 class NativeDisplay : public eglu::NativeDisplay
[all …]
/third_party/vk-gl-cts/framework/platform/android/
DtcuAndroidPlatform.cpp50 static const eglu::NativeDisplay::Capability DISPLAY_CAPABILITIES = eglu::NativeDisplay::CAPABILITY…
51 static const eglu::NativeWindow::Capability WINDOW_CAPABILITIES = (eglu::NativeWindow::Capability…
52 eglu::NativeWindow::CAPABILITY_CREATE_SURFACE_PLATFORM |
53 eglu::NativeWindow::CAPABILITY_CREATE_SURFACE_PLATFORM_EXTENSION |
54 eglu::NativeWindow::CAPABILITY_SET_SURFACE_SIZE |
55 eglu::NativeWindow::CAPABILITY_GET_SCREEN_SIZE);
57 class NativeDisplay : public eglu::NativeDisplay
60 … NativeDisplay (void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so") {} in NativeDisplay()
70 class NativeDisplayFactory : public eglu::NativeDisplayFactory
76 virtual eglu::NativeDisplay* createDisplay (const EGLAttrib* attribList) const;
[all …]
/third_party/vk-gl-cts/framework/platform/raspi/
DtcuRaspiPlatform.cpp46 static const eglu::NativeDisplay::Capability DISPLAY_CAPABILITIES = eglu::NativeDisplay::CAPABILITY…
47 static const eglu::NativeWindow::Capability WINDOW_CAPABILITIES = eglu::NativeWindow::CAPABILITY_…
49 class Display : public eglu::NativeDisplay
52 Display (void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES) {} in Display()
58 class DisplayFactory : public eglu::NativeDisplayFactory
64 eglu::NativeDisplay* createDisplay (const EGLAttrib* attribList) const;
67 class Window : public eglu::NativeWindow
83 class WindowFactory : public eglu::NativeWindowFactory
86 …WindowFactory (void) : eglu::NativeWindowFactory("dispman", "Dispman Window", WINDOW_CAPABILITIES… in WindowFactory()
89eglu::NativeWindow* createWindow (eglu::NativeDisplay* display, const eglu::WindowParams& param…
[all …]
/third_party/vk-gl-cts/framework/platform/nullws/
DtcuNullWSPlatform.cpp35 class Window: public eglu::NativeWindow
40 Window(eglu::NativeDisplay* nativeDisplay, const eglu::WindowParams& params) in Window()
51 class WindowFactory: public eglu::NativeWindowFactory
59eglu::NativeWindow* createWindow(eglu::NativeDisplay* nativeDisplay, const eglu::WindowParams& par… in createWindow()
65 class Pixmap: public eglu::NativePixmap
81 class PixmapFactory: public eglu::NativePixmapFactory
89 eglu::NativePixmap* createPixmap (eglu::NativeDisplay*, int, int) const in createPixmap()
95 class Display: public eglu::NativeDisplay
101 : eglu::NativeDisplay(CAPABILITIES) in Display()
120 class DisplayFactory: public eglu::NativeDisplayFactory
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglQuerySurfaceTests.cpp52 using eglu::ConfigInfo;
58 const char* name = eglu::getSurfaceAttribName(attribute); in logSurfaceAttribute()
59 const eglu::SurfaceAttribValueFmt valueFmt (attribute, value); in logSurfaceAttribute()
67 …logSurfaceAttribute(log, attributes[ndx], eglu::querySurfaceInt(egl, display, surface, attributes[… in logSurfaceAttributes()
107 …TestContext& eglTestCtx, const char* name, const char* description, const eglu::FilterList& filter…
113 …TestContext& eglTestCtx, const char* name, const char* description, const eglu::FilterList& filter… in QuerySurfaceCase()
127 const EGLint id = eglu::querySurfaceInt(egl, display, surface, EGL_CONFIG_ID); in checkCommonAttributes()
138 const EGLint width = eglu::querySurfaceInt(egl, display, surface, EGL_WIDTH); in checkCommonAttributes()
139 const EGLint height = eglu::querySurfaceInt(egl, display, surface, EGL_HEIGHT); in checkCommonAttributes()
150 const EGLint hRes = eglu::querySurfaceInt(egl, display, surface, EGL_HORIZONTAL_RESOLUTION); in checkCommonAttributes()
[all …]
DteglCreateSurfaceTests.cpp69 const vector<std::string> extensions = eglu::getClientExtensions(egl); in checkEGLPlatformSupport()
87 …ateWindowSurface (EGLDisplay display, EGLConfig config, eglu::NativeDisplay& nativeDisplay, eglu::… in createWindowSurface()
119 …atePixmapSurface (EGLDisplay display, EGLConfig config, eglu::NativeDisplay& nativeDisplay, eglu::… in createPixmapSurface()
148 …Ctx, const char* name, const char* description, ApiType createType, const eglu::FilterList& filter… in CreateWindowSurfaceCase()
158 EGLint id = eglu::getConfigID(egl, display, config); in executeForConfig()
159 …const eglu::NativeWindowFactory& windowFactory = eglu::selectNativeWindowFactory(m_eglTestCtx.getN… in executeForConfig()
167 … if ((windowFactory.getCapabilities() & eglu::NativeWindow::CAPABILITY_CREATE_SURFACE_LEGACY) == 0) in executeForConfig()
173 …if ((windowFactory.getCapabilities() & eglu::NativeWindow::CAPABILITY_CREATE_SURFACE_PLATFORM_EXTE… in executeForConfig()
179 …if ((windowFactory.getCapabilities() & eglu::NativeWindow::CAPABILITY_CREATE_SURFACE_PLATFORM) == … in executeForConfig()
191eglu::NativeWindow> window (windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), display… in executeForConfig()
[all …]
DteglRenderCase.cpp74 … const char* name, const char* description, EGLint surfaceTypeMask, const eglu::FilterList& filter… in RenderCase()
123 const EGLint configId = eglu::getConfigID(egl, display, config); in executeForConfig()
125 const eglu::NativeDisplayFactory& displayFactory = m_eglTestCtx.getNativeDisplayFactory(); in executeForConfig()
126 eglu::NativeDisplay& nativeDisplay = m_eglTestCtx.getNativeDisplay(); in executeForConfig()
137 …const eglu::NativeWindowFactory& windowFactory = eglu::selectNativeWindowFactory(displayFactory, m… in executeForConfig()
141 …const eglu::WindowParams params (width, height, eglu::parseWindowVisibility(m_testCtx.getComman… in executeForConfig()
142 …de::UniquePtr<eglu::NativeWindow> window (windowFactory.createWindow(&nativeDisplay, display, con… in executeForConfig()
144 eglu::UniqueSurface surface (egl, display, eglSurface); in executeForConfig()
162 …const eglu::NativePixmapFactory& pixmapFactory = eglu::selectNativePixmapFactory(displayFactory, m… in executeForConfig()
166 …de::UniquePtr<eglu::NativePixmap> pixmap (pixmapFactory.createPixmap(&nativeDisplay, display, con… in executeForConfig()
[all …]
DteglNativeColorMappingTests.cpp250 …const tcu::UVec4 eglBitDepth((deUint32)eglu::getConfigAttribInt(egl, display, config, EGL_RED_SIZE… in validate()
251 (deUint32)eglu::getConfigAttribInt(egl, display, config, EGL_GREEN_SIZE), in validate()
252 (deUint32)eglu::getConfigAttribInt(egl, display, config, EGL_BLUE_SIZE), in validate()
253 (deUint32)eglu::getConfigAttribInt(egl, display, config, EGL_ALPHA_SIZE)); in validate()
287 … name, const char* description, bool render, NativeType nativeType, const eglu::FilterList& filter…
297 … name, const char* description, bool render, NativeType nativeType, const eglu::FilterList& filter… in NativeColorMappingCase()
311 …log << TestLog::Message << "EGL_RED_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL… in logConfigInfo()
312 …log << TestLog::Message << "EGL_GREEN_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EG… in logConfigInfo()
313 …log << TestLog::Message << "EGL_BLUE_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL… in logConfigInfo()
314 …log << TestLog::Message << "EGL_ALPHA_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EG… in logConfigInfo()
[all …]
DteglSimpleConfigCase.cpp40 using eglu::ConfigInfo;
42 using namespace eglu;
119 static bool colorBits (const eglu::CandidateConfig& c) in colorBits()
128 static bool notColorBits (const eglu::CandidateConfig& c) in notColorBits()
136 static bool hasDepth (const eglu::CandidateConfig& c) { return c.depthSize() > 0; } in hasDepth()
137 static bool noDepth (const eglu::CandidateConfig& c) { return c.depthSize() == 0; } in noDepth()
138 static bool hasStencil (const eglu::CandidateConfig& c) { return c.stencilSize() > 0; } in hasStencil()
139 static bool noStencil (const eglu::CandidateConfig& c) { return c.stencilSize() == 0; } in noStencil()
141 static bool isConformant (const eglu::CandidateConfig& c) in isConformant()
146 static bool notFloat (const eglu::CandidateConfig& c) in notFloat()
[all …]
DteglQueryContextTests.cpp52 using eglu::ConfigInfo;
86 class GetCurrentContextCase : public SingleContextRenderCase, private eglu::CallLogWrapper
89 …TestContext& eglTestCtx, const char* name, const char* description, const eglu::FilterList& filter… in GetCurrentContextCase()
91 , eglu::CallLogWrapper (eglTestCtx.getLibrary(), m_testCtx.getLog()) in GetCurrentContextCase()
128 class GetCurrentSurfaceCase : public SingleContextRenderCase, private eglu::CallLogWrapper
131 …TestContext& eglTestCtx, const char* name, const char* description, const eglu::FilterList& filter… in GetCurrentSurfaceCase()
133 , eglu::CallLogWrapper (eglTestCtx.getLibrary(), m_testCtx.getLog()) in GetCurrentSurfaceCase()
170 class GetCurrentDisplayCase : public SingleContextRenderCase, private eglu::CallLogWrapper
173 …TestContext& eglTestCtx, const char* name, const char* description, const eglu::FilterList& filter… in GetCurrentDisplayCase()
175 , eglu::CallLogWrapper (eglTestCtx.getLibrary(), m_testCtx.getLog()) in GetCurrentDisplayCase()
[all …]
/third_party/vk-gl-cts/framework/platform/ohos/display/pixmap/
DtcuOhosPixmapFactory.hpp35 using eglu::GLContextFactory;
36 using eglu::NativeDisplay;
37 using eglu::NativeDisplayFactory;
38 using eglu::NativeWindow;
39 using eglu::NativeWindowFactory;
40 using eglu::NativePixmap;
41 using eglu::NativePixmapFactory;
42 using eglu::WindowParams;
45 class OhosPixmapFactory : public eglu::NativePixmapFactory
49 …: eglu::NativePixmapFactory ("pixmap", "Rosen Pixmap", eglu::NativePixmap::CAPABILITY_CREATE_SURFA… in OhosPixmapFactory()
DtcuOhosNativePixmap.cpp34 using eglu::GLContextFactory;
35 using eglu::NativeDisplay;
36 using eglu::NativeDisplayFactory;
37 using eglu::NativeWindow;
38 using eglu::NativeWindowFactory;
39 using eglu::NativePixmap;
40 using eglu::NativePixmapFactory;
41 using eglu::WindowParams;
45 : NativePixmap(eglu::NativePixmap::CAPABILITY_CREATE_SURFACE_LEGACY) in OhosPixmap()
DtcuOhosNativePixmap.hpp35 using eglu::GLContextFactory;
36 using eglu::NativeDisplay;
37 using eglu::NativeDisplayFactory;
38 using eglu::NativeWindow;
39 using eglu::NativeWindowFactory;
40 using eglu::NativePixmap;
41 using eglu::NativePixmapFactory;
42 using eglu::WindowParams;
DtcuOhosPixmapFactory.cpp36 using eglu::GLContextFactory;
37 using eglu::NativeDisplay;
38 using eglu::NativeDisplayFactory;
39 using eglu::NativeWindow;
40 using eglu::NativeWindowFactory;
41 using eglu::NativePixmap;
42 using eglu::NativePixmapFactory;
43 using eglu::WindowParams;
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcConfigListEGL.cpp94 de::UniquePtr<eglu::NativeDisplay> nativeDisplay( in getDefaultEglConfigList()
97 eglw::EGLDisplay display = eglu::getAndInitDisplay(*nativeDisplay); in getDefaultEglConfigList()
98 std::vector<eglw::EGLConfig> configs = eglu::getConfigs(library, display); in getDefaultEglConfigList()
99 bool supportFloatConfigs = eglu::hasExtension(library, display, "EGL_EXT_pixel_format_float"); in getDefaultEglConfigList()
100 bool supportYUVConfigs = eglu::hasExtension(library, display, "EGL_EXT_yuv_surface"); in getDefaultEglConfigList()
104 int id = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_CONFIG_ID); in getDefaultEglConfigList()
105 …deUint32 renderableBits = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_RENDERABLE_TYPE… in getDefaultEglConfigList()
106 deUint32 conformantBits = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_CONFORMANT); in getDefaultEglConfigList()
107 deInt32 redSize = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_RED_SIZE); in getDefaultEglConfigList()
108 deInt32 greenSize = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_GREEN_SIZE); in getDefaultEglConfigList()
[all …]
/third_party/vk-gl-cts/framework/platform/ohos/display/
DtcuOhosEglDisplayFactory.cpp34 using eglu::GLContextFactory;
35 using eglu::NativeDisplay;
36 using eglu::NativeDisplayFactory;
37 using eglu::NativeWindow;
38 using eglu::NativeWindowFactory;
39 using eglu::NativePixmap;
40 using eglu::NativePixmapFactory;
41 using eglu::WindowParams;
45 : eglu::NativeDisplayFactory("ROSEN", "Rosen Display", OhosDisplay::CAPABILITIES) in OhosDisplayFactory()
DtcuOhosNativeDisplay.cpp31 using eglu::GLContextFactory;
32 using eglu::NativeDisplay;
33 using eglu::NativeDisplayFactory;
34 using eglu::NativeWindow;
35 using eglu::NativeWindowFactory;
36 using eglu::NativePixmap;
37 using eglu::NativePixmapFactory;
38 using eglu::WindowParams;
42 : NativeDisplay(eglu::NativeDisplay::CAPABILITY_GET_DISPLAY_LEGACY) in OhosDisplay()
DtcuOhosNativeDisplay.hpp35 using eglu::GLContextFactory;
36 using eglu::NativeDisplay;
37 using eglu::NativeDisplayFactory;
38 using eglu::NativeWindow;
39 using eglu::NativeWindowFactory;
40 using eglu::NativePixmap;
41 using eglu::NativePixmapFactory;
42 using eglu::WindowParams;
/third_party/vk-gl-cts/framework/platform/ohos/display/window/
DtcuOhosWindowFactory.hpp37 using eglu::GLContextFactory;
38 using eglu::NativeDisplay;
39 using eglu::NativeDisplayFactory;
40 using eglu::NativeWindow;
41 using eglu::NativeWindowFactory;
42 using eglu::NativePixmap;
43 using eglu::NativePixmapFactory;
44 using eglu::WindowParams;
DtcuOhosWindowFactory.cpp35 using eglu::GLContextFactory;
36 using eglu::NativeDisplay;
37 using eglu::NativeDisplayFactory;
38 using eglu::NativeWindow;
39 using eglu::NativeWindowFactory;
40 using eglu::NativePixmap;
41 using eglu::NativePixmapFactory;
42 using eglu::WindowParams;
DtcuOhosNativeWindow.hpp37 using eglu::GLContextFactory;
38 using eglu::NativeDisplay;
39 using eglu::NativeDisplayFactory;
40 using eglu::NativeWindow;
41 using eglu::NativeWindowFactory;
42 using eglu::NativePixmap;
43 using eglu::NativePixmapFactory;
44 using eglu::WindowParams;
DtcuOhosNativeWindow.cpp34 using eglu::GLContextFactory;
35 using eglu::NativeDisplay;
36 using eglu::NativeDisplayFactory;
37 using eglu::NativeWindow;
38 using eglu::NativeWindowFactory;
39 using eglu::NativePixmap;
40 using eglu::NativePixmapFactory;
41 using eglu::WindowParams;
/third_party/vk-gl-cts/framework/platform/ohos/context/
DtcuOhosNativeContext.hpp40 using eglu::GLContextFactory;
41 using eglu::NativeDisplay;
42 using eglu::NativeDisplayFactory;
43 using eglu::NativeWindow;
44 using eglu::NativeWindowFactory;
45 using eglu::NativePixmap;
46 using eglu::NativePixmapFactory;
47 using eglu::WindowParams;

123456