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

  /cts/tests/tests/opengl/src/android/opengl/cts/
GlTestBase.java 19 import android.opengl.EGLConfig;
77 EGLConfig eglConfig = Egl14Utils.getEglConfig(sEglDisplay, 2);
80 mEglContext = Egl14Utils.createEglContext(sEglDisplay, eglConfig, 2);
81 assertNotSame(EGL_NO_CONTEXT, eglConfig);
83 mEglSurface = eglCreatePbufferSurface(sEglDisplay, eglConfig, new int[] {
  /cts/tests/tests/hardware/src/android/hardware/cts/
HardwareBufferTest.java 21 import android.opengl.EGLConfig;
63 EGLConfig eglConfig = Egl14Utils.getEglConfig(eglDisplay, 2);
64 eglContext = Egl14Utils.createEglContext(eglDisplay, eglConfig, 2);
66 eglSurface = EGL14.eglCreatePbufferSurface(eglDisplay, eglConfig, new int[] {
  /hardware/qcom/display/msm8998/gpu_tonemapper/
glengine.cpp 65 EGLConfig eglConfig;
73 EGL(eglChooseConfig(engineContext->eglDisplay, eglConfigAttribList, &eglConfig, 1, &numConfig));
77 engineContext->eglContext = eglCreateContext(engineContext->eglDisplay, eglConfig, NULL, eglContextAttribList);
81 engineContext->eglSurface = eglCreatePbufferSurface(engineContext->eglDisplay, eglConfig, eglSurfaceAttribList);
  /external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
OGLES2HelloAPI_LinuxX11.cpp 251 @Output eglConfig The EGLConfig chosen by the function
253 @Description Chooses an appropriate EGLConfig and return it.
255 bool ChooseEGLConfig( EGLDisplay eglDisplay, EGLConfig& eglConfig )
271 /* Find a suitable EGLConfig
277 advanced applications choose to do. For this application however, taking the first EGLConfig that the function returns suits
278 its needs perfectly, so we limit it to returning a single EGLConfig.
281 if (!eglChooseConfig(eglDisplay, configurationAttributes, &eglConfig, 1, &configsReturned) || (configsReturned != 1))
294 @Input eglConfig An EGLConfig chosen by the application
    [all...]
OGLES2HelloAPI_Windows.cpp 129 EGLConfig eglConfig = 0;
264 if (!eglChooseConfig(eglDisplay, pi32ConfigAttribs, &eglConfig, 1, &iConfigs) || (iConfigs != 1))
279 eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, eglWindow, NULL);
284 eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, NULL, NULL);
299 eglContext = eglCreateContext(eglDisplay, eglConfig, NULL, ai32ContextAttribs);
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
EglBase10.java 37 import javax.microedition.khronos.egl.EGLConfig;
52 private EGLConfig eglConfig;
69 eglConfig = getEglConfig(eglDisplay, configAttributes);
70 eglContext = createEglContext(sharedContext, eglDisplay, eglConfig);
157 eglSurface = egl.eglCreateWindowSurface(eglDisplay, eglConfig, nativeWindow, surfaceAttribs);
176 eglSurface = egl.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs);
216 || eglConfig == null) {
230 eglConfig = null;
275 // Return an EGLConfig, or die trying
    [all...]
EglBase14.java 33 import android.opengl.EGLConfig;
52 private EGLConfig eglConfig;
76 eglConfig = getEglConfig(eglDisplay, configAttributes);
77 eglContext = createEglContext(sharedContext, eglDisplay, eglConfig);
102 eglSurface = EGL14.eglCreateWindowSurface(eglDisplay, eglConfig, surface, surfaceAttribs, 0);
120 eglSurface = EGL14.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs, 0);
160 || eglConfig == null) {
175 eglConfig = null;
230 // Return an EGLConfig, or die trying
    [all...]
  /packages/apps/Camera2/src/com/android/camera/data/
GlideFilmstripManager.java 23 import android.opengl.EGLConfig;
244 EGLConfig[] eglConfigs = new EGLConfig[1];
253 EGLConfig eglConfig = eglConfigs[0];
262 EGLSurface eglSurface = EGL14.eglCreatePbufferSurface(eglDisplay, eglConfig,
271 EGLContext eglContext = EGL14.eglCreateContext(eglDisplay, eglConfig, EGL14.EGL_NO_CONTEXT,
  /external/deqp/modules/egl/
teglResizeTests.cpp 122 EGLConfig m_config;
131 EGLConfig getEGLConfig (const Library& egl, const EGLDisplay eglDisplay, EGLenum surfaceType)
148 const EGLConfig eglConfig = getEGLConfig(egl, eglDisplay, surfaceType());
155 eglConfig,
162 eglConfig,
172 eglConfig,
178 eglConfig,
183 << "Chose EGLConfig with id " << configId << ".\n"
188 m_config = eglConfig;
    [all...]
teglGLES2SharedRenderingPerfTests.cpp 104 TestContext (EglTestContext& eglTestCtx, EGLDisplay display, EGLConfig eglConfig, const TestConfig& config, bool share, TestContext* parent);
444 EGLContext createEGLContext (EglTestContext& testCtx, EGLDisplay eglDisplay, EGLConfig eglConfig, EGLContext share)
455 EGLContext context = egl.createContext(eglDisplay, eglConfig, share, attribList);
461 EGLSurface createEGLSurface (EglTestContext& testCtx, EGLDisplay display, EGLConfig eglConfig, const TestConfig& config)
471 EGLSurface surface = egl.createPbufferSurface(display, eglConfig, attribList);
479 TestContext::TestContext (EglTestContext& testCtx, EGLDisplay eglDisplay, 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 641 milliseconds