/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;
|
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
DemoAndroidHarness.java | 21 String eglConfig = bundle.getString("EGLCONFIG"); 22 if (eglConfig.equals("Best")) 26 else if (eglConfig.equals("Legacy"))
|
/external/chromium_org/gpu/gles2_conform_support/native/ |
egl_native.cc | 13 EGLDisplay eglDisplay, EGLConfig eglConfig,
|
egl_native_aura.cc | 35 EGLDisplay eglDisplay, EGLConfig eglConfig,
|
egl_native_windowless.cc | 24 EGLDisplay eglDisplay, EGLConfig eglConfig,
|
egl_native_gtk.cc | 39 EGLDisplay eglDisplay, EGLConfig eglConfig,
|
egl_native_win.cc | 53 EGLDisplay eglDisplay, EGLConfig eglConfig,
|
/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,
|
/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...] |
/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...] |
/external/chromium_org/third_party/skia/src/views/win/ |
SkOSWindow_win.cpp | 386 EGLConfig* eglConfig) { 435 if (eglChooseConfig(display, configAttribList, eglConfig, 1, &numConfigs)) { 441 if (!eglChooseConfig(display, configAttribList, eglConfig, 1, &numConfigs)) { 447 EGLSurface surface = eglCreateWindowSurface(display, *eglConfig, 455 EGLContext context = eglCreateContext(display, *eglConfig,
|
/external/skia/src/views/win/ |
SkOSWindow_win.cpp | 386 EGLConfig* eglConfig) { 435 if (eglChooseConfig(display, configAttribList, eglConfig, 1, &numConfigs)) { 441 if (!eglChooseConfig(display, configAttribList, eglConfig, 1, &numConfigs)) { 447 EGLSurface surface = eglCreateWindowSurface(display, *eglConfig, 455 EGLContext context = eglCreateContext(display, *eglConfig,
|
/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/ |
GL2JNIView.java | 44 import javax.microedition.khronos.egl.EGLConfig; 58 * an EGLConfig that supports 2.0. This is done by providing a config 63 * - The class must select the surface's format, then choose an EGLConfig 97 /* We need to choose an EGLConfig that matches the format of 112 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 116 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 158 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { 173 EGLConfig[] configs = new EGLConfig[numConfigs] [all...] |
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
GL2JNIView.java | 43 import javax.microedition.khronos.egl.EGLConfig; 80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 84 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 121 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { 131 EGLConfig[] configs = new EGLConfig[numConfigs]; 137 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, 138 EGLConfig[] configs) { 139 EGLConfig closestConfig = null [all...] |
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
GLPerfView.java | 43 import javax.microedition.khronos.egl.EGLConfig; 80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 84 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 121 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { 131 EGLConfig[] configs = new EGLConfig[numConfigs]; 137 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, 138 EGLConfig[] configs) { 139 EGLConfig closestConfig = null [all...] |
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
GLDualGL2View.java | 36 import javax.microedition.khronos.egl.EGLConfig; 83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 87 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 124 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { 134 EGLConfig[] configs = new EGLConfig[numConfigs]; 140 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, 141 EGLConfig[] configs) { 142 EGLConfig closestConfig = null [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
BlockingGLTextureView.java | 28 import javax.microedition.khronos.egl.EGLConfig; 111 EGLConfig mEglConfig; 114 private EGLConfig chooseEglConfig() { 116 EGLConfig[] configs = new EGLConfig[1]; 140 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { 142 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attribList);
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
BlockingGLTextureView.java | 28 import javax.microedition.khronos.egl.EGLConfig; 111 EGLConfig mEglConfig; 114 private EGLConfig chooseEglConfig() { 116 EGLConfig[] configs = new EGLConfig[1]; 140 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { 142 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attribList);
|
/packages/apps/Launcher3/src/com/android/photos/views/ |
BlockingGLTextureView.java | 28 import javax.microedition.khronos.egl.EGLConfig; 111 EGLConfig mEglConfig; 114 private EGLConfig chooseEglConfig() { 116 EGLConfig[] configs = new EGLConfig[1]; 140 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { 142 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attribList);
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
MosaicRendererSurfaceView.java | 29 import javax.microedition.khronos.egl.EGLConfig; 84 /* We need to choose an EGLConfig that matches the format of 102 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { 107 display, eglConfig, EGL10.EGL_NO_CONTEXT, attribList); 149 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { 164 EGLConfig[] configs = new EGLConfig[numConfigs]; 175 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, 176 EGLConfig[] configs) [all...] |
/frameworks/base/core/java/android/view/ |
HardwareRenderer.java | 43 import javax.microedition.khronos.egl.EGLConfig; 831 static EGLConfig sEglConfig; [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GLTextureViewActivity.java | 37 import javax.microedition.khronos.egl.EGLConfig; 142 private EGLConfig mEglConfig; 378 throw new RuntimeException("eglConfig not initialized"); 404 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { 406 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 409 private EGLConfig chooseEglConfig() { 411 EGLConfig[] configs = new EGLConfig[1];
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ImageWallpaper.java | 47 import javax.microedition.khronos.egl.EGLConfig; 123 private EGLConfig mEglConfig; 627 throw new RuntimeException("eglConfig not initialized"); 681 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { 683 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attrib_list); 686 private EGLConfig chooseEglConfig() { 688 EGLConfig[] configs = new EGLConfig[1];
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GLSurfaceViewCustom.java | 31 import javax.microedition.khronos.egl.EGLConfig; 96 * A given Android device may support multiple EGLConfig rendering configurations. 99 * GLSurfaceView has to do when starting to render is choose what EGLConfig to use. 101 * By default GLSurfaceView chooses a EGLConfig that has an RGB_888 pixel format, 104 * If you would prefer a different EGLConfig 402 * view will choose an EGLConfig that is compatible with the current 681 * that it still needs. The {@link #onSurfaceCreated(GL10, EGLConfig)} method 709 * @param config the EGLConfig of the created surface. Can be used 712 void onSurfaceCreated(GL10 gl, EGLConfig config); 770 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) [all...] |