Home
last modified time | relevance | path

Searched refs:egl (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfView.java42 import javax.microedition.khronos.egl.EGL10;
43 import javax.microedition.khronos.egl.EGLConfig;
44 import javax.microedition.khronos.egl.EGLContext;
45 import javax.microedition.khronos.egl.EGLDisplay;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument
82 checkEglError("Before eglCreateContext", egl); in createContext()
84 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
85 checkEglError("After eglCreateContext", egl); in createContext()
89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument
90 egl.eglDestroyContext(display, context); in destroyContext()
[all …]
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DGLDualGL2View.java35 import javax.microedition.khronos.egl.EGL10;
36 import javax.microedition.khronos.egl.EGLConfig;
37 import javax.microedition.khronos.egl.EGLContext;
38 import javax.microedition.khronos.egl.EGLDisplay;
83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument
85 checkEglError("Before eglCreateContext", egl); in createContext()
87 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
88 checkEglError("After eglCreateContext", egl); in createContext()
92 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument
93 egl.eglDestroyContext(display, context); in destroyContext()
[all …]
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
DGL2JNIView.java42 import javax.microedition.khronos.egl.EGL10;
43 import javax.microedition.khronos.egl.EGLConfig;
44 import javax.microedition.khronos.egl.EGLContext;
45 import javax.microedition.khronos.egl.EGLDisplay;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument
82 checkEglError("Before eglCreateContext", egl); in createContext()
84 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
85 checkEglError("After eglCreateContext", egl); in createContext()
89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument
90 egl.eglDestroyContext(display, context); in destroyContext()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java32 import javax.microedition.khronos.egl.EGL10;
33 import javax.microedition.khronos.egl.EGLConfig;
34 import javax.microedition.khronos.egl.EGLContext;
35 import javax.microedition.khronos.egl.EGLDisplay;
36 import javax.microedition.khronos.egl.EGLSurface;
87 EGL10 egl = (EGL10) EGLContext.getEGL(); in newTarget() local
88 EGLDisplay eglDisplay = createDefaultDisplay(egl); in newTarget()
89 EGLConfig eglConfig = chooseEglConfig(egl, eglDisplay); in newTarget()
90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig); in newTarget()
91 EGLSurface eglSurface = createSurface(egl, eglDisplay, width, height); in newTarget()
[all …]
/frameworks/rs/driver/
DrsdGL.cpp131 ALOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion); in DumpDebug()
132 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface, in DumpDebug()
133 dc->gl.egl.display); in DumpDebug()
156 if (dc->gl.egl.context != EGL_NO_CONTEXT) { in rsdGLShutdown()
157 RSD_CALL_GL(eglMakeCurrent, dc->gl.egl.display, in rsdGLShutdown()
159 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surfaceDefault); in rsdGLShutdown()
160 if (dc->gl.egl.surface != EGL_NO_SURFACE) { in rsdGLShutdown()
161 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surface); in rsdGLShutdown()
163 RSD_CALL_GL(eglDestroyContext, dc->gl.egl.display, dc->gl.egl.context); in rsdGLShutdown()
169 RSD_CALL_GL(eglTerminate, dc->gl.egl.display); in rsdGLShutdown()
[all …]
DrsdFrameBufferObj.cpp131 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width); in setActive()
132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height); in setActive()
/frameworks/native/opengl/libs/EGL/
Degl_platform_entries.cpp319 res = cnx->egl.eglGetConfigs(dp->disp.dpy, configs, config_size, num_config); in eglGetConfigsImpl()
340 return cnx->egl.eglChooseConfig(dp->disp.dpy, attrib_list, configs, config_size, in eglChooseConfigImpl()
381 EGLBoolean resAA = cnx->egl.eglChooseConfig(dp->disp.dpy, aaAttribs, configs, config_size, in eglChooseConfigImpl()
391 return cnx->egl.eglChooseConfig(dp->disp.dpy, attrib_list, configs, config_size, num_config); in eglChooseConfigImpl()
400 return cnx->egl.eglGetConfigAttrib(dp->disp.dpy, config, attribute, value); in eglGetConfigAttribImpl()
580 cnx->egl.eglGetConfigAttrib(dpy, config, EGL_COLOR_COMPONENT_TYPE_EXT, &componentType); in getNativePixelFormat()
585 cnx->egl.eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r); in getNativePixelFormat()
586 cnx->egl.eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g); in getNativePixelFormat()
587 cnx->egl.eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b); in getNativePixelFormat()
588 cnx->egl.eglGetConfigAttrib(dpy, config, EGL_ALPHA_SIZE, &a); in getNativePixelFormat()
[all …]
Degl_display.cpp138 if (cnx->egl.eglGetPlatformDisplay) { in getPlatformDisplayAngle()
165 dpy = cnx->egl.eglGetPlatformDisplay(EGL_PLATFORM_ANGLE_ANGLE, in getPlatformDisplayAngle()
204 if (cnx->egl.eglGetPlatformDisplay) { in getPlatformDisplay()
205 dpy = cnx->egl.eglGetPlatformDisplay(EGL_PLATFORM_ANDROID_KHR, display, in getPlatformDisplay()
216 dpy = cnx->egl.eglGetDisplay(display); in getPlatformDisplay()
276 if (cnx->egl.eglInitialize(idpy, &cnx->major, &cnx->minor)) { in initialize()
284 disp.queryString.vendor = cnx->egl.eglQueryString(idpy, EGL_VENDOR); in initialize()
285 disp.queryString.version = cnx->egl.eglQueryString(idpy, EGL_VERSION); in initialize()
286 disp.queryString.extensions = cnx->egl.eglQueryString(idpy, EGL_EXTENSIONS); in initialize()
287 disp.queryString.clientApi = cnx->egl.eglQueryString(idpy, EGL_CLIENT_APIS); in initialize()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLDebugHelper.java21 import javax.microedition.khronos.egl.EGL;
100 public static EGL wrap(EGL egl, int configFlags, Writer log) { in wrap() argument
102 egl = new EGLLogWrapper(egl, configFlags, log); in wrap()
104 return egl; in wrap()
DGLSurfaceView.java31 import javax.microedition.khronos.egl.EGL10;
32 import javax.microedition.khronos.egl.EGL11;
33 import javax.microedition.khronos.egl.EGLConfig;
34 import javax.microedition.khronos.egl.EGLContext;
35 import javax.microedition.khronos.egl.EGLDisplay;
36 import javax.microedition.khronos.egl.EGLSurface;
786 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext() argument
787 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); in destroyContext() argument
793 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() argument
797 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext()
[all …]
DEGLLogWrapper.java22 import javax.microedition.khronos.egl.EGL;
23 import javax.microedition.khronos.egl.EGL10;
24 import javax.microedition.khronos.egl.EGL11;
25 import javax.microedition.khronos.egl.EGLConfig;
26 import javax.microedition.khronos.egl.EGLContext;
27 import javax.microedition.khronos.egl.EGLDisplay;
28 import javax.microedition.khronos.egl.EGLSurface;
38 public EGLLogWrapper(EGL egl, int configFlags, Writer log) { in EGLLogWrapper() argument
39 mEgl10 = (EGL10) egl; in EGLLogWrapper()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DSingleFrameTextureViewTestActivity.java36 import javax.microedition.khronos.egl.EGL10;
37 import javax.microedition.khronos.egl.EGLConfig;
38 import javax.microedition.khronos.egl.EGLContext;
39 import javax.microedition.khronos.egl.EGLDisplay;
40 import javax.microedition.khronos.egl.EGLSurface;
166 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in onSurfaceTextureAvailable()
168 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in onSurfaceTextureAvailable()
DGLTextureViewActivity.java36 import javax.microedition.khronos.egl.EGL10;
37 import javax.microedition.khronos.egl.EGLConfig;
38 import javax.microedition.khronos.egl.EGLContext;
39 import javax.microedition.khronos.egl.EGLDisplay;
40 import javax.microedition.khronos.egl.EGLSurface;
404 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
406 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java31 import javax.microedition.khronos.egl.EGL10;
32 import javax.microedition.khronos.egl.EGLConfig;
33 import javax.microedition.khronos.egl.EGLContext;
34 import javax.microedition.khronos.egl.EGLDisplay;
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java27 import javax.microedition.khronos.egl.EGL10;
28 import javax.microedition.khronos.egl.EGLConfig;
29 import javax.microedition.khronos.egl.EGLContext;
30 import javax.microedition.khronos.egl.EGLDisplay;
31 import javax.microedition.khronos.egl.EGLSurface;
140 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
142 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attribList); in createContext()
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
DGL2JavaView.java30 import javax.microedition.khronos.egl.EGL10;
31 import javax.microedition.khronos.egl.EGLConfig;
32 import javax.microedition.khronos.egl.EGLContext;
33 import javax.microedition.khronos.egl.EGLDisplay;
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java25 import javax.microedition.khronos.egl.EGL10;
26 import javax.microedition.khronos.egl.EGLConfig;
27 import javax.microedition.khronos.egl.EGLContext;
28 import javax.microedition.khronos.egl.EGLDisplay;
29 import javax.microedition.khronos.egl.EGLSurface;
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.java31 import javax.microedition.khronos.egl.EGL10;
32 import javax.microedition.khronos.egl.EGLConfig;
33 import javax.microedition.khronos.egl.EGLContext;
34 import javax.microedition.khronos.egl.EGLDisplay;
35 import javax.microedition.khronos.egl.EGLSurface;
355 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
357 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
DTestView.java42 import javax.microedition.khronos.egl.EGL10;
43 import javax.microedition.khronos.egl.EGLConfig;
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
DGLJNIView.java42 import javax.microedition.khronos.egl.EGL10;
43 import javax.microedition.khronos.egl.EGLConfig;
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java30 import javax.microedition.khronos.egl.EGL10;
31 import javax.microedition.khronos.egl.EGLConfig;
32 import javax.microedition.khronos.egl.EGLContext;
33 import javax.microedition.khronos.egl.EGLDisplay;
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGL.java17 package javax.microedition.khronos.egl;
DEGLDisplay.java17 package javax.microedition.khronos.egl;
DEGLSurface.java17 package javax.microedition.khronos.egl;
DEGLConfig.java17 package javax.microedition.khronos.egl;

123