/cts/tests/tests/graphics/src/android/graphics/cts/ |
EGL14Test.java | 19 import android.opengl.EGL14; 44 private EGLDisplay mEglDisplay = EGL14.EGL_NO_DISPLAY; 46 private EGLSurface mEglPbuffer = EGL14.EGL_NO_SURFACE; 47 private EGLContext mEglContext = EGL14.EGL_NO_CONTEXT; 54 mEglDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 55 if (mEglDisplay == EGL14.EGL_NO_DISPLAY) { 58 error = EGL14.eglGetError(); 59 if (error != EGL14.EGL_SUCCESS) { 65 if (!EGL14.eglInitialize(mEglDisplay, major, 0, minor, 0)) [all...] |
EGL15Test.java | 21 //import static android.opengl.EGL14.*; 23 import android.opengl.EGL14; 63 EGL14.EGL_DEFAULT_DISPLAY, 65 EGL14.EGL_NONE }, 70 error = EGL14.eglGetError(); 71 if (error != EGL14.EGL_SUCCESS) { 77 if (!EGL14.eglInitialize(mEglDisplay, major, 0, minor, 0)) { 80 error = EGL14.eglGetError(); 81 if (error != EGL14.EGL_SUCCESS) { 91 if (!EGL14.eglChooseConfig(mEglDisplay [all...] |
ASurfaceTextureTest.java | 19 import static android.opengl.EGL14.*; 22 import android.opengl.EGL14; 53 mEglDisplay = EGL14.eglGetDisplay(EGL_DEFAULT_DISPLAY); 59 if (!EGL14.eglInitialize(mEglDisplay, major, 0, minor, 0)) { 68 if (!EGL14.eglChooseConfig(mEglDisplay, 78 mEglPbuffer = EGL14.eglCreatePbufferSurface(mEglDisplay, mEglConfig, 84 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, 90 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglPbuffer, mEglPbuffer, mEglContext)) {
|
SyncTest.java | 19 import static android.opengl.EGL14.*; 21 import android.opengl.EGL14; 66 mEglDisplay = EGL14.eglGetDisplay(EGL_DEFAULT_DISPLAY); 72 if (!EGL14.eglInitialize(mEglDisplay, major, 0, minor, 0)) { 78 if (!EGL14.eglChooseConfig(mEglDisplay, 92 EGL14.eglTerminate(mEglDisplay);
|
RenderTarget.java | 18 import static android.opengl.EGL14.EGL_ALPHA_SIZE; 19 import static android.opengl.EGL14.EGL_BLUE_SIZE; 20 import static android.opengl.EGL14.EGL_CONFIG_CAVEAT; 21 import static android.opengl.EGL14.EGL_CONTEXT_CLIENT_VERSION; 22 import static android.opengl.EGL14.EGL_DEFAULT_DISPLAY; 23 import static android.opengl.EGL14.EGL_DEPTH_SIZE; 24 import static android.opengl.EGL14.EGL_GREEN_SIZE; 25 import static android.opengl.EGL14.EGL_HEIGHT; 26 import static android.opengl.EGL14.EGL_NONE; 27 import static android.opengl.EGL14.EGL_NO_CONTEXT [all...] |
ANativeWindowTest.java | 19 import static android.opengl.EGL14.*; 24 import android.opengl.EGL14; 58 mEglDisplay = EGL14.eglGetDisplay(EGL_DEFAULT_DISPLAY); 64 if (!EGL14.eglInitialize(mEglDisplay, major, 0, minor, 0)) { 73 if (!EGL14.eglChooseConfig(mEglDisplay, 83 mEglPbuffer = EGL14.eglCreatePbufferSurface(mEglDisplay, mEglConfig, 89 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, 95 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglPbuffer, mEglPbuffer, mEglContext)) {
|
/cts/tests/tests/media/src/android/media/cts/ |
InputSurface.java | 21 import android.opengl.EGL14; 42 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; 43 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 44 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE; 76 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 77 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { 78 throw new RuntimeException("unable to get EGL14 display"); 81 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) { 83 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/ |
Egl14Utils.java | 19 import android.opengl.EGL14; 62 EGLDisplay eglDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 63 if (eglDisplay == EGL14.EGL_NO_DISPLAY) { 69 if (!EGL14.eglInitialize(eglDisplay, major, 0, minor, 0)) { 87 int[] contextAttributes = { EGL14.EGL_CONTEXT_CLIENT_VERSION, version, EGL14.EGL_NONE }; 88 return EGL14.eglCreateContext(eglDisplay, eglConfig, 89 EGL14.EGL_NO_CONTEXT, contextAttributes, 0); 96 EGL14.eglMakeCurrent(eglDisplay [all...] |
FramebufferTest.java | 21 import android.opengl.EGL14; 159 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY; 160 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 181 if (mEGLDisplay != EGL14.EGL_NO_DISPLAY) { 186 sharedContext = EGL14.EGL_NO_CONTEXT; 189 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 190 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { 191 throw new RuntimeException("unable to get EGL14 display"); 194 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) [all...] |
GlTestBase.java | 30 import static android.opengl.EGL14.EGL_HEIGHT; 31 import static android.opengl.EGL14.EGL_NONE; 32 import static android.opengl.EGL14.EGL_NO_CONTEXT; 33 import static android.opengl.EGL14.EGL_NO_DISPLAY; 34 import static android.opengl.EGL14.EGL_NO_SURFACE; 35 import static android.opengl.EGL14.EGL_SUCCESS; 36 import static android.opengl.EGL14.EGL_WIDTH; 37 import static android.opengl.EGL14.eglCreatePbufferSurface; 38 import static android.opengl.EGL14.eglDestroySurface; 39 import static android.opengl.EGL14.eglGetError [all...] |
WrapperTest.java | 19 import android.opengl.EGL14; 174 if (!EGL14.eglMakeCurrent(mEGLDisplay, mEGLSurface, mEGLSurface, mEGLContext)) { 201 EGL14.eglTerminate(mEGLDisplay); 235 mEGLDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 236 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { 237 throw new RuntimeException("unable to get EGL14 display"); 240 if (!EGL14.eglInitialize(mEGLDisplay, version, 0, version, 1)) { 242 throw new RuntimeException("unable to initialize EGL14"); 248 renderableType = EGL14.EGL_OPENGL_ES_BIT [all...] |
EglContextTest.java | 19 import android.opengl.EGL14; 52 EGL14.eglDestroyContext(eglDisplay, eglContext); 55 EGL14.eglTerminate(eglDisplay);
|
EglSurfacesTest.java | 21 import android.opengl.EGL14; 67 EGL14.EGL_CONTEXT_CLIENT_VERSION, 2,
|
Egl10Utils.java | 19 import android.opengl.EGL14; 64 newConfigSpec[len] = EGL14.EGL_OPENGL_ES2_BIT; /* EGL_OPENGL_ES2_BIT */
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
EglBase14.java | 32 import android.opengl.EGL14; 43 * Holds EGL state and utility methods for handling an EGL14 EGLContext, an EGLDisplay, 54 private EGLSurface eglSurface = EGL14.EGL_NO_SURFACE; 98 if (eglSurface != EGL14.EGL_NO_SURFACE) { 101 int[] surfaceAttribs = {EGL14.EGL_NONE}; 102 eglSurface = EGL14.eglCreateWindowSurface(eglDisplay, eglConfig, surface, surfaceAttribs, 0); 103 if (eglSurface == EGL14.EGL_NO_SURFACE) { 116 if (eglSurface != EGL14.EGL_NO_SURFACE) { 119 int[] surfaceAttribs = {EGL14.EGL_WIDTH, width, EGL14.EGL_HEIGHT, height, EGL14.EGL_NONE} [all...] |
VideoRendererGui.java | 41 import android.opengl.EGL14; 612 eglContext = new EglBase14.Context(EGL14.eglGetCurrentContext());
|
/cts/tests/vr/src/android/vr/cts/ |
VrExtensionBehaviorTest.java | 19 import android.opengl.EGL14; 69 OpenGLESActivity.EGL_PROTECTED_CONTENT_EXT, EGL14.EGL_TRUE)); 72 OpenGLESActivity.EGL_PROTECTED_CONTENT_EXT, EGL14.EGL_TRUE)); 139 OpenGLESActivity.setSurfaceAttribute(EGL14.EGL_RENDER_BUFFER, 140 EGL14.EGL_SINGLE_BUFFER); 142 EGL14.EGL_TRUE); 146 EGL14.EGL_RENDER_BUFFER, EGL14.EGL_SINGLE_BUFFER)); 148 OpenGLESActivity.setSurfaceAttribute(EGL14.EGL_RENDER_BUFFER, 149 EGL14.EGL_BACK_BUFFER) [all...] |
OpenGLESActivity.java | 21 import android.opengl.EGL14; 91 while ((error = EGL14.eglGetError()) != EGL14.EGL_SUCCESS) { 114 EGL14.eglQueryContext(EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY), 115 EGL14.eglGetCurrentContext(), attribute, values, 0); 122 EGL14.eglQuerySurface(EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY) [all...] |
VrDisplayTest.java | 20 import android.opengl.EGL14;
|
/cts/tests/tests/security/src/android/security/cts/ |
RenderTarget.java | 18 import static android.opengl.EGL14.EGL_ALPHA_SIZE; 19 import static android.opengl.EGL14.EGL_BLUE_SIZE; 20 import static android.opengl.EGL14.EGL_CONFIG_CAVEAT; 21 import static android.opengl.EGL14.EGL_CONTEXT_CLIENT_VERSION; 22 import static android.opengl.EGL14.EGL_DEFAULT_DISPLAY; 23 import static android.opengl.EGL14.EGL_DEPTH_SIZE; 24 import static android.opengl.EGL14.EGL_GREEN_SIZE; 25 import static android.opengl.EGL14.EGL_HEIGHT; 26 import static android.opengl.EGL14.EGL_NONE; 27 import static android.opengl.EGL14.EGL_NO_CONTEXT [all...] |
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
GlesStubActivity.java | 27 import android.opengl.EGL14; 466 EGLDisplay display = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); 467 if (display == EGL14.EGL_NO_DISPLAY) { 469 Integer.toHexString(EGL14.eglGetError())); 472 String extensions = EGL14.eglQueryString(display, EGL14.EGL_EXTENSIONS); 473 int error = EGL14.eglGetError(); 474 if (error != EGL14.EGL_SUCCESS) {
|
/cts/hostsidetests/angle/app/common/src/com/android/angleIntegrationTest/common/ |
GlesView.java | 23 import android.opengl.EGL14; 73 EGL14.EGL_OPENGL_ES2_BIT, 106 int[] contextAttribs = new int[] {EGL14.EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE};
|
/external/deqp/modules/egl/ |
teglGetProcAddressTests.cpp | 220 EGL14, 241 case EGL14: 260 case EGL14: 283 case EGL14: return FunctionNames(DE_LENGTH_OF_ARRAY(s_EGL14), s_EGL14); 309 case EGL14: 382 coreFuncGroup->addChild(new GetProcAddressCoreFunctionsCase (m_eglTestCtx, "egl", "Test EGL core functions", GetProcAddressCoreFunctionsCase::EGL14));
|