HomeSort by relevance Sort by last modified time
    Searched defs:eglConfig (Results 1 - 7 of 7) sorted by null

  /sdk/emulator/opengl/tests/ut_renderer/
RendererSurface.cpp 25 EGLConfig RendererSurface::getEglConfig(EGLDisplay eglDisplay, SurfaceConfig config)
27 EGLConfig eglConfig;
37 if (!eglChooseConfig(eglDisplay, attrib, &eglConfig, 1, &nConfigs)) {
42 if (eglGetConfigAttrib(eglDisplay, eglConfig, EGL_BUFFER_SIZE, &ibuf)) {
47 if (eglGetConfigAttrib(eglDisplay, eglConfig, EGL_DEPTH_SIZE, &ibuf)) {
58 return eglConfig;
81 EGLConfig eglConfig = getEglConfig(eglDisplay, config);
82 if (eglConfig == 0)
    [all...]
RendererSurface.h 31 EGLConfig eglConfig() { return m_config; }
35 static EGLConfig getEglConfig(EGLDisplay eglDisplay, SurfaceConfig config);
40 RendererSurface(EGLDisplay display, NativeWindowType window, EGLSurface surface, EGLConfig config) :
48 EGLConfig m_config;
  /cts/tests/tests/nativeopengl/standalone/jni/tests/
EGLCleanup_test.cpp 257 EGLConfig eglConfig;
259 if (!eglChooseConfig(mEglDisplay, kConfigAttribs, &eglConfig,
265 mEglSurface = eglCreatePbufferSurface(mEglDisplay, eglConfig,
272 mEglContext = eglCreateContext(mEglDisplay, eglConfig, EGL_NO_CONTEXT,
  /external/deqp/modules/egl/
teglResizeTests.cpp 115 EGLConfig m_config;
124 EGLConfig getEGLConfig (const EGLDisplay eglDisplay, EGLenum surfaceType)
140 const EGLConfig eglConfig = getEGLConfig(eglDisplay, surfaceType());
147 eglConfig,
153 eglConfig,
158 eglConfig,
166 eglConfig,
171 << "Chose EGLConfig with id " << configId << ".\n"
176 m_config = eglConfig;
    [all...]
teglGLES2SharedRenderingPerfTests.cpp 102 TestContext (EglTestContext& eglTestCtx, EGLConfig eglConfig, const TestConfig& config, bool share, TestContext* parent);
461 EGLContext createEGLContext (EglTestContext& testCtx, EGLConfig eglConfig, EGLContext share)
470 EGLContext context = eglCreateContext(testCtx.getDisplay().getEGLDisplay(), eglConfig, share, attribList);
476 EGLSurface createEGLSurface (EglTestContext& testCtx, EGLConfig eglConfig, const TestConfig& config)
484 EGLSurface surface = eglCreatePbufferSurface(testCtx.getDisplay().getEGLDisplay(), eglConfig, attribList);
492 TestContext::TestContext (EglTestContext& testCtx, EGLConfig eglConfig, const TestConfig& config, bool share, TestContext* parent
    [all...]
  /packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java 26 import javax.microedition.khronos.egl.EGLConfig;
169 EGLConfig eglConfig = chooseEglConfig();
170 if (eglConfig == null) {
171 throw new RuntimeException("eglConfig not initialized");
174 mEglContext = createContext(mEgl, mEglDisplay, eglConfig);
176 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, eglConfig, mSurface, null);
199 private static EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) {
201 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list)
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
RenderTarget.java 33 import javax.microedition.khronos.egl.EGLConfig;
58 /** The cached EGLConfig instance. */
59 private static EGLConfig mEglConfig = null;
61 /** The display for which the EGLConfig was chosen. We expect only one. */
89 EGLConfig eglConfig = chooseEglConfig(egl, eglDisplay);
90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig);
119 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay);
124 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surfaceHolder, null)
    [all...]

Completed in 91 milliseconds