/packages/apps/Gallery2/src/com/android/photos/views/ |
BlockingGLTextureView.java | 29 import javax.microedition.khronos.egl.EGLConfig; 108 EGLConfig mEglConfig; 111 private EGLConfig chooseEglConfig() { 113 EGLConfig[] configs = new EGLConfig[1]; 137 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { 139 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
|
/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...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
OpenGLES20NativeActivityOne.java | 16 import javax.microedition.khronos.egl.EGLConfig; 119 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
|
/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...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
TouchRotateActivity.java | 19 import javax.microedition.khronos.egl.EGLConfig; 151 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
|
/frameworks/base/opengl/java/android/opengl/ |
EGLLogWrapper.java | 25 import javax.microedition.khronos.egl.EGLConfig; 48 EGLConfig[] configs, int config_size, int[] num_config) { 78 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, 95 EGLConfig config, int[] attrib_list) { 110 EGLConfig config, Object native_pixmap, int[] attrib_list) { 126 EGLConfig config, Object native_window, int[] attrib_list) { 165 public boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, 180 public boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs,
|
GLSurfaceView.java | 25 import javax.microedition.khronos.egl.EGLConfig; 92 * A given Android device may support multiple EGLConfig rendering configurations. 95 * GLSurfaceView has to do when starting to render is choose what EGLConfig to use. 97 * By default GLSurfaceView chooses a EGLConfig that has an RGB_888 pixel format, 100 * If you would prefer a different EGLConfig 398 * view will choose an EGLConfig that is compatible with the current 677 * that it still needs. The {@link #onSurfaceCreated(GL10, EGLConfig)} method 705 * @param config the EGLConfig of the created surface. Can be used 708 void onSurfaceCreated(GL10 gl, EGLConfig config); 760 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) [all...] |
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
TriangleRenderer.java | 24 import javax.microedition.khronos.egl.EGLConfig; 37 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
|
/external/skia/src/gpu/gl/android/ |
SkNativeGLContext_android.cpp | 72 EGLConfig surfaceConfig;
|
/external/skia/src/gpu/gl/angle/ |
SkANGLEGLContext.cpp | 74 EGLConfig surfaceConfig;
|
/frameworks/native/cmds/flatland/ |
GLHelper.h | 84 EGLConfig mConfig;
|
/sdk/emulator/opengl/tests/ut_renderer/ |
RendererContext.cpp | 20 RendererContext * RendererContext::create(EGLDisplay dpy, EGLConfig config, RendererContext *shareCtx, int version)
|
RendererContext.h | 41 static RendererContext *create(EGLDisplay dpy, EGLConfig config, RendererContext *shareCtx, int version);
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
gl2_copyTexImage.cpp | 282 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { 343 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); 367 EGLConfig myConfig = {0}; 413 EGLConfig* const configs = new EGLConfig[numConfigs];
|
/frameworks/native/opengl/tests/gl2_basic/ |
gl2_basic.cpp | 178 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { 239 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); 263 EGLConfig myConfig = {0};
|
/frameworks/native/opengl/tests/gl_basic/ |
gl_basic.cpp | 97 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { 170 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); 215 EGLConfig myConfig = {0};
|
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/ |
libEGL.cpp | 33 bool validate(egl::Display *display, EGLConfig config) 213 EGLBoolean __stdcall eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config) 215 TRACE("(EGLDisplay dpy = 0x%0.8p, EGLConfig *configs = 0x%0.8p, " 250 EGLBoolean __stdcall eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) 253 "EGLConfig *configs = 0x%0.8p, EGLint config_size = %d, EGLint *num_config = 0x%0.8p)", 289 EGLBoolean __stdcall eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) 291 TRACE("(EGLDisplay dpy = 0x%0.8p, EGLConfig config = 0x%0.8p, EGLint attribute = %d, EGLint *value = 0x%0.8p)", 318 EGLSurface __stdcall eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list) 320 TRACE("(EGLDisplay dpy = 0x%0.8p, EGLConfig config = 0x%0.8p, EGLNativeWindowType win = 0x%0.8p, " 385 EGLSurface __stdcall eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list [all...] |
Config.cpp | 8 // and size for an egl::Surface. Implements EGLConfig and related functionality. 179 EGLConfig Config::getHandle() const 181 return (EGLConfig)(size_t)mConfigID; 297 bool ConfigSet::getConfigs(EGLConfig *configs, const EGLint *attribList, EGLint configSize, EGLint *numConfig) 378 const egl::Config *ConfigSet::get(EGLConfig configHandle)
|
/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];
|
/cts/tests/tests/view/src/android/view/cts/ |
DisplayRefreshRateTest.java | 31 import javax.microedition.khronos.egl.EGLConfig; 152 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
RotationVectorDemo.java | 22 import javax.microedition.khronos.egl.EGLConfig; 149 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
|
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
egl.cpp | 289 EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config) 324 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) 349 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) 359 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list) 371 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) 383 EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list) 436 EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) 461 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list)
|
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/ |
GL2JavaView.java | 31 import javax.microedition.khronos.egl.EGLConfig; 83 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
|
/packages/apps/Nfc/src/com/android/nfc/ |
FireflyRenderer.java | 35 import javax.microedition.khronos.egl.EGLConfig; 160 EGLConfig mEglConfig; 310 Log.e(LOG_TAG, "eglConfig not initialized."); 353 private EGLConfig chooseEglConfig() { 355 EGLConfig[] configs = new EGLConfig[1];
|
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
EglImp.cpp | 37 #include "EglConfig.h" 107 #define VALIDATE_CONFIG_RETURN(EGLConfig,ret) \ 108 EglConfig* cfg = dpy->getConfig(EGLConfig); \ 129 #define VALIDATE_CONFIG(EGLConfig) \ 130 VALIDATE_CONFIG_RETURN(EGLConfig,EGL_FALSE) 251 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay display, EGLConfig *configs, 268 EGLConfig *configs, EGLint config_size, 438 EglConfig* pConfig = dpy->getConfig(config_id); 441 configs[0] = static_cast<EGLConfig>(pConfig) [all...] |