/cts/tests/tests/graphics/src/android/opengl/cts/ |
EglContextTest.java | 20 import android.opengl.EGL14; 51 EGL14.eglDestroyContext(eglDisplay, eglContext); 54 EGL14.eglTerminate(eglDisplay); 63 EGLDisplay eglDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 64 if (eglDisplay == EGL14.EGL_NO_DISPLAY) { 70 if (!EGL14.eglInitialize(eglDisplay, major, 0, minor, 0)) { 82 int[] contextAttributes = { EGL14.EGL_CONTEXT_CLIENT_VERSION, 2, EGL14.EGL_NONE }; 83 EGLContext eglContext = EGL14.eglCreateContext(eglDisplay [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
InputSurface.java | 19 import android.opengl.EGL14; 41 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; 42 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 43 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; 66 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 67 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { 68 throw new RuntimeException("unable to get EGL14 display"); 71 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) { 73 throw new RuntimeException("unable to initialize EGL14"); [all...] |
OutputSurface.java | 20 import android.opengl.EGL14; 48 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; 49 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 50 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; 123 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 124 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { 125 throw new RuntimeException("unable to get EGL14 display"); 128 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) { 130 throw new RuntimeException("unable to initialize EGL14"); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
CtsMediaOutputSurface.java | 20 import android.opengl.EGL14; 52 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; 53 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 54 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; 127 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 128 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { 129 throw new RuntimeException("unable to get EGL14 display"); 132 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) { 134 throw new RuntimeException("unable to initialize EGL14"); [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
FramebufferTest.java | 21 import android.opengl.EGL14; 162 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; 163 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 184 if (mEGLDisplay != EGL14.EGL_NO_DISPLAY) { 189 sharedContext = EGL14.EGL_NO_CONTEXT; 192 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 193 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { 194 throw new RuntimeException("unable to get EGL14 display"); 197 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) [all...] |
WrapperTest.java | 19 import android.opengl.EGL14; 174 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { 196 EGL14.eglTerminate(mEGLDisplay); 230 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 231 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { 232 throw new RuntimeException("unable to get EGL14 display"); 235 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) { 237 throw new RuntimeException("unable to initialize EGL14"); 243 renderableType = EGL14.EGL_OPENGL_ES_BIT [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
GlideFilmstripManager.java | 22 import android.opengl.EGL14; 233 EGLDisplay eglDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 235 EGL14.eglInitialize(eglDisplay, majorMinor, 0, majorMinor, 1); 238 EGL14.EGL_COLOR_BUFFER_TYPE, EGL14.EGL_RGB_BUFFER, 239 EGL14.EGL_LEVEL, 0, 240 EGL14.EGL_RENDERABLE_TYPE, EGL14.EGL_OPENGL_ES2_BIT, 241 EGL14.EGL_SURFACE_TYPE, EGL14.EGL_PBUFFER_BIT [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SurfaceTextureRenderer.java | 23 import android.opengl.EGL14; 66 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; 67 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 413 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 414 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { 415 throw new IllegalStateException("No EGL14 display"); 418 if (!EGL14.eglInitialize(mEGLDisplay, version, /*offset*/ 0, version, /*offset*/ 1)) { 419 throw new IllegalStateException("Cannot initialize EGL14"); 423 EGL14.EGL_RED_SIZE, EGL_COLOR_BITLENGTH [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
ColorFade.java | 32 import android.opengl.EGL14; 384 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface); 498 mEglDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 499 if (mEglDisplay == EGL14.EGL_NO_DISPLAY) { 505 if (!EGL14.eglInitialize(mEglDisplay, version, 0, version, 1)) { 514 EGL14.EGL_RENDERABLE_TYPE, 515 EGL14.EGL_OPENGL_ES2_BIT, 516 EGL14.EGL_RED_SIZE, 8, 517 EGL14.EGL_GREEN_SIZE, 8 [all...] |
/external/skia/platform_tools/android/app/src/com/skia/ |
SkiaSampleView.java | 16 import android.opengl.EGL14; 199 EGL14.EGL_OPENGL_API, 200 EGL14.EGL_OPENGL_ES_API 206 EGL14.eglBindAPI(currentAPI); 210 int renderableType = EGL14.EGL_OPENGL_BIT; 211 if (currentAPI == EGL14.EGL_OPENGL_API) { 212 renderableType = EGL14.EGL_OPENGL_ES2_BIT;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GLDepthTestActivity.java | 25 import android.opengl.EGL14; 259 EGLDisplay display = EGL14.eglGetCurrentDisplay(); 260 EGL14.eglSwapInterval(display, 0);
|
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
ColorsGLRenderer.java | 31 import android.opengl.EGL14; 200 int[] attrib_list = { EGL14.EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; 219 EGL10.EGL_RENDERABLE_TYPE, EGL14.EGL_OPENGL_ES2_BIT,
|
/frameworks/native/opengl/tools/glgen/ |
gen | 95 javac -d classes android/opengl/EGL14.java \ 157 for x in EGL14 EGLExt GLES10 GLES10Ext GLES11 GLES11Ext GLES20 GLES30 GLES31 GLES31Ext
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
EGL14Header.java-if | 30 public class EGL14 {
|
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteInit.java | 26 import android.opengl.EGL14; 202 EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY);
|
/frameworks/base/opengl/java/android/opengl/ |
EGL14.java | 30 public class EGL14 {
|
GLSurfaceView.java | [all...] |
/external/robolectric/lib/main/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/21/ |
android.jar | |