Searched refs:eglu (Results 51 - 75 of 108) sorted by relevance

12345

/external/deqp/modules/egl/
H A DteglApiCase.hpp39 class ApiCase : public TestCase, protected eglu::CallLogWrapper
67 bool getConfig (eglw::EGLConfig* cfg, const eglu::FilterList& filters);
H A DteglConfigList.cpp64 EGLDisplay display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
65 vector<EGLConfig> configs = eglu::getConfigs(egl, display);
109 std::string colorBufferType = de::toString(eglu::getColorBufferTypeStr(val));
113 std::string caveat = de::toString(eglu::getConfigCaveatStr(val));
120 std::string conformant = de::toString(eglu::getAPIBitsStr(val));
148 std::string renderableTypes = de::toString(eglu::getAPIBitsStr(val));
161 std::string surfaceTypes = de::toString(eglu::getSurfaceBitsStr(val));
165 std::string transparentType = de::toString(eglu::getTransparentTypeStr(val));
H A DteglImageUtil.hpp53 ManagedSurface (de::MovePtr<eglu::UniqueSurface> surface) : m_surface(surface) {}
58 de::UniquePtr<eglu::UniqueSurface> m_surface;
H A DteglMultiContextTests.cpp89 bool isES2Renderable (const eglu::CandidateConfig& c)
96 eglu::FilterList filters;
98 return eglu::chooseSingleConfig(egl, display, filters);
123 const eglu::UniqueDisplay display (egl, eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()));
126 const eglu::UniqueSurface surface (egl, *display, m_use != USE_NONE ? egl.createPbufferSurface(*display, config, pbufferAttribList) : EGL_NO_SURFACE);
162 resultCollector.fail("eglCreateContext() produced error that is not EGL_BAD_ALLOC: " + eglu::getErrorStr(error).toString());
180 log << TestLog::Message << "Failed to make " << (contextCount + 1) << "th context current: " << eglu::getErrorStr(makeCurrentError) << TestLog::EndMessage;
H A DteglTestCase.cpp45 EglTestContext::EglTestContext (tcu::TestContext& testCtx, const eglu::NativeDisplayFactory& displayFactory)
70 const eglu::GLFunctionLoader loader (getLibrary(), platformLib);
H A DteglMutableRenderBufferTests.cpp68 eglu::NativeWindow* m_window;
96 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
98 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_KHR_mutable_render_buffer"))
127 m_eglConfig = eglu::chooseSingleConfig(egl, m_eglDisplay, attribs);
131 const vector<EGLConfig> configs = eglu::chooseConfigs(egl, m_eglDisplay, attribsNoBit);
150 const eglu::NativeWindowFactory& factory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
152 eglu::WindowParams(480, 480, eglu::parseWindowVisibility(m_testCtx.getCommandLine())));
153 m_eglSurface = eglu
[all...]
H A DteglColorClearTests.cpp52 eglu::ConfigFilter baseFilter;
65 eglu::FilterList baseFilters;
75 static bool renderable (const eglu::CandidateConfig& c)
H A DteglMakeCurrentPerfTests.cpp101 vector<eglu::NativeWindow*> m_windows;
102 vector<eglu::NativePixmap*> m_pixmaps;
173 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
278 const eglu::NativeWindowFactory& windowFactory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
280 eglu::NativeWindow* window = DE_NULL;
285 window = windowFactory.createWindow(&m_eglTestCtx.getNativeDisplay(), m_display, m_config, DE_NULL, eglu::WindowParams(width, height, eglu::parseWindowVisibility(m_eglTestCtx.getTestContext().getCommandLine())));
286 surface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *window, m_display, m_config, DE_NULL);
307 const eglu
[all...]
H A DteglNegativeApiTests.cpp47 static bool renderable (const eglu::CandidateConfig& c)
53 static bool notRenderable (const eglu::CandidateConfig& c)
59 static bool surfaceBits (const eglu::CandidateConfig& c)
65 static bool notSurfaceBits (const eglu::CandidateConfig& c)
123 using namespace eglu;
130 static const eglu::ConfigFilter s_renderAPIFilters[] = { renderable<EGL_OPENGL_BIT>, renderable<EGL_OPENGL_ES_BIT>, renderable<EGL_OPENVG_BIT> };
200 const eglu::NativePixmapFactory& factory = eglu::selectNativePixmapFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
201 de::UniquePtr<eglu::NativePixmap> pixmap (factory.createPixmap(&m_eglTestCtx.getNativeDisplay(), 64, 64));
207 eglu
[all...]
H A DteglImageUtil.cpp62 using eglu::AttribMap;
63 using eglu::UniqueSurface;
64 using eglu::NativeDisplay;
65 using eglu::NativeWindow;
66 using eglu::NativePixmap;
67 using eglu::NativeDisplayFactory;
68 using eglu::NativeWindowFactory;
69 using eglu::NativePixmapFactory;
70 using eglu::WindowParams;
100 EGLint surfaceTypeBits = eglu
[all...]
H A DteglSwapBuffersWithDamageTests.cpp280 eglu::NativeWindow* m_window;
319 if (!eglu::hasExtension(egl, eglDisplay, "EGL_KHR_swap_buffers_with_damage"))
327 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
371 const eglu::NativeWindowFactory& factory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
373 eglu::WindowParams(480, 480, eglu::parseWindowVisibility(m_testCtx.getCommandLine())));
374 m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay, config, DE_NULL);
401 const int width = eglu::querySurfaceInt(egl, m_eglDisplay, m_eglSurface, EGL_WIDTH);
402 const int height = eglu
[all...]
H A DteglClientExtensionTests.cpp143 throw eglu::Error(eglError, "eglQueryString()", DE_NULL, __FILE__, __LINE__);
201 throw eglu::Error(eglQueryError, "eglQueryString()", DE_NULL, __FILE__, __LINE__);
208 EGLDisplay display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
262 throw eglu::Error(eglQueryError, "eglQueryString()", DE_NULL, __FILE__, __LINE__);
270 EGLDisplay display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
H A DteglGetFrameTimestampsTests.cpp83 #define CHECK_NAKED_EGL_CALL(EGLW, CALL) do { CALL; eglu::checkError((EGLW).getError(), #CALL, __FILE__, __LINE__); } while (deGetFalse())
486 if (!eglu::hasExtension(egl, display, "EGL_ANDROID_get_frame_timestamps"))
493 const eglu::NativeWindowFactory& factory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
498 log << TestLog::Message << "EGL_RED_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL_RED_SIZE) << TestLog::EndMessage;
499 log << TestLog::Message << "EGL_GREEN_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL_GREEN_SIZE) << TestLog::EndMessage;
500 log << TestLog::Message << "EGL_BLUE_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL_BLUE_SIZE) << TestLog::EndMessage;
501 log << TestLog::Message << "EGL_ALPHA_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL_ALPHA_SIZE) << TestLog::EndMessage;
502 log << TestLog::Message << "EGL_DEPTH_SIZE: " << eglu::getConfigAttribInt(egl, display, config, EGL_DEPTH_SIZE) << TestLog::EndMessage;
503 log << TestLog::Message << "EGL_STENCIL_SIZE: " << eglu
[all...]
H A DteglPartialUpdateTests.cpp94 eglu::NativeWindow* m_window;
377 m_eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
386 m_supportBufferAge = eglu::hasExtension(egl, m_eglDisplay, "EGL_EXT_buffer_age");
388 if (!eglu::hasExtension(egl, m_eglDisplay, "EGL_KHR_partial_update"))
430 const eglu::NativeWindowFactory& factory = eglu::selectNativeWindowFactory(m_eglTestCtx.getNativeDisplayFactory(), m_testCtx.getCommandLine());
432 eglu::WindowParams(480, 480, eglu::parseWindowVisibility(m_testCtx.getCommandLine())));
433 m_eglSurface = eglu::createWindowSurface(m_eglTestCtx.getNativeDisplay(), *m_window, m_eglDisplay, config, DE_NULL);
492 const int width = eglu
[all...]
H A DteglInfoTests.cpp68 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay(), &m_version);
79 eglu::Version m_version;
152 vector<string> extensions = eglu::getDisplayExtensions(egl, m_display);
H A DteglTestPackage.cpp178 static const eglu::NativeDisplayFactory& getDefaultDisplayFactory (tcu::TestContext& testCtx)
180 const eglu::NativeDisplayFactory& factory = eglu::selectNativeDisplayFactory(testCtx.getPlatform().getEGLPlatform().getNativeDisplayFactoryRegistry(), testCtx.getCommandLine());
H A DteglMultiThreadTests.cpp279 m_display = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay());
724 vector<pair<eglu::NativePixmap*, EGLSurface> > m_sharedNativePixmaps;
725 vector<pair<eglu::NativePixmap*, EGLSurface> > m_nativePixmaps0;
726 vector<pair<eglu::NativePixmap*, EGLSurface> > m_nativePixmaps1;
728 vector<pair<eglu::NativeWindow*, EGLSurface> > m_sharedNativeWindows;
729 vector<pair<eglu::NativeWindow*, EGLSurface> > m_nativeWindows0;
730 vector<pair<eglu::NativeWindow*, EGLSurface> > m_nativeWindows1;
984 vector<pair<eglu::NativeWindow*, EGLSurface> >& windows = (thread.getId() == 0 ? m_nativeWindows0 : m_nativeWindows1);
985 vector<pair<eglu::NativePixmap*, EGLSurface> >& pixmaps = (thread.getId() == 0 ? m_nativePixmaps0 : m_nativePixmaps1);
1088 const eglu
[all...]
H A DteglRenderTests.cpp688 fmt.redBits = eglu::getConfigAttribInt(egl, display, config, EGL_RED_SIZE);
689 fmt.greenBits = eglu::getConfigAttribInt(egl, display, config, EGL_GREEN_SIZE);
690 fmt.blueBits = eglu::getConfigAttribInt(egl, display, config, EGL_BLUE_SIZE);
691 fmt.alphaBits = eglu::getConfigAttribInt(egl, display, config, EGL_ALPHA_SIZE);
702 SingleThreadRenderCase (EglTestContext& eglTestCtx, const char* name, const char* description, EGLint api, EGLint surfaceType, const eglu::FilterList& filters, int numContextsPerApi);
714 SingleThreadRenderCase::SingleThreadRenderCase (EglTestContext& eglTestCtx, const char* name, const char* description, EGLint api, EGLint surfaceType, const eglu::FilterList& filters, int numContextsPerApi)
728 const int width = eglu::querySurfaceInt(egl, display, surface, EGL_WIDTH);
729 const int height = eglu::querySurfaceInt(egl, display, surface, EGL_HEIGHT);
736 const int depthBits = eglu::getConfigAttribInt(egl, display, config.config, EGL_DEPTH_SIZE);
737 const int stencilBits = eglu
[all...]
/external/deqp/framework/egl/
H A DegluGLFunctionLoader.hpp41 namespace eglu namespace
80 } // eglu
H A DegluNativePixmap.cpp26 namespace eglu namespace
41 throw tcu::NotSupportedError("eglu::NativePixmap doesn't support eglCreatePixmapSurface()", DE_NULL, __FILE__, __LINE__);
47 throw tcu::NotSupportedError("eglu::NativePixmap doesn't support eglCreatePlatformPixmapSurface()", DE_NULL, __FILE__, __LINE__);
53 throw tcu::NotSupportedError("eglu::NativePixmap doesn't support readPixels", DE_NULL, __FILE__, __LINE__);
74 } // eglu
H A DegluDefs.cpp34 namespace eglu namespace
44 desc << "Got " << eglu::getErrorStr(err);
114 } // eglu
H A DegluConfigFilter.hpp38 namespace eglu namespace
107 } // eglu
H A DegluGLFunctionLoader.cpp29 namespace eglu namespace
85 } // eglu
/external/deqp/framework/platform/lnx/
H A DtcuLnxPlatform.cpp65 const eglu::Platform& getEGLPlatform (void) const { return m_eglPlatform; }
/external/deqp/framework/platform/win32/
H A DtcuWin32Platform.cpp68 m_contextFactoryRegistry.registerFactory(new eglu::GLContextFactory(m_nativeDisplayFactoryRegistry));

Completed in 247 milliseconds

12345