Home
last modified time | relevance | path

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

123

/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/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/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.cpp136 ALOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion); in DumpDebug()
137 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface, in DumpDebug()
138 dc->gl.egl.display); in DumpDebug()
161 if (dc->gl.egl.context != EGL_NO_CONTEXT) { in rsdGLShutdown()
162 RSD_CALL_GL(eglMakeCurrent, dc->gl.egl.display, in rsdGLShutdown()
164 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surfaceDefault); in rsdGLShutdown()
165 if (dc->gl.egl.surface != EGL_NO_SURFACE) { in rsdGLShutdown()
166 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surface); in rsdGLShutdown()
168 RSD_CALL_GL(eglDestroyContext, dc->gl.egl.display, dc->gl.egl.context); in rsdGLShutdown()
174 RSD_CALL_GL(eglTerminate, dc->gl.egl.display); in rsdGLShutdown()
[all …]
DrsdFrameBufferObj.cpp132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width); in setActive()
133 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height); in setActive()
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp274 res = cnx->egl.eglGetConfigs( in eglGetConfigs()
340 EGLBoolean resAA = cnx->egl.eglChooseConfig( in eglChooseConfig()
352 res = cnx->egl.eglChooseConfig( in eglChooseConfig()
367 return cnx->egl.eglGetConfigAttrib( in eglGetConfigAttrib()
425 if (!cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_NATIVE_VISUAL_ID, in eglCreateWindowSurface()
455 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_ALPHA_SIZE, &a); in eglCreateWindowSurface()
462 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_RED_SIZE, &r); in eglCreateWindowSurface()
463 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_GREEN_SIZE, &g); in eglCreateWindowSurface()
464 cnx->egl.eglGetConfigAttrib(iDpy, config, EGL_BLUE_SIZE, &b); in eglCreateWindowSurface()
507 EGLSurface surface = cnx->egl.eglCreateWindowSurface( in eglCreateWindowSurface()
[all …]
Degl_display.cpp110 EGLDisplay dpy = cnx->egl.eglGetDisplay(display); in getDisplay()
154 if (cnx->egl.eglInitialize(idpy, &cnx->major, &cnx->minor)) { in initialize()
162 disp.queryString.vendor = cnx->egl.eglQueryString(idpy, in initialize()
164 disp.queryString.version = cnx->egl.eglQueryString(idpy, in initialize()
166 disp.queryString.extensions = cnx->egl.eglQueryString(idpy, in initialize()
168 disp.queryString.clientApi = cnx->egl.eglQueryString(idpy, in initialize()
173 egl_tls_t::egl_strerror(cnx->egl.eglGetError())); in initialize()
251 if (cnx->egl.eglTerminate(disp.dpy) == EGL_FALSE) { in terminate()
253 egl_tls_t::egl_strerror(cnx->egl.eglGetError())); in terminate()
330 result = c->cnx->egl.eglMakeCurrent( in makeCurrent()
[all …]
/frameworks/base/opengl/java/android/opengl/
DManagedEGLContext.java19 import static javax.microedition.khronos.egl.EGL10.EGL_DEFAULT_DISPLAY;
20 import static javax.microedition.khronos.egl.EGL10.EGL_NO_DISPLAY;
24 import javax.microedition.khronos.egl.EGL10;
25 import javax.microedition.khronos.egl.EGLContext;
26 import javax.microedition.khronos.egl.EGLDisplay;
113 EGL10 egl = (EGL10) EGLContext.getEGL(); in doTerminate() local
114 EGLDisplay display = egl.eglGetDisplay(EGL_DEFAULT_DISPLAY); in doTerminate()
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.java23 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;
760 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext() argument
761 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); in destroyContext() argument
767 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() argument
771 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/native/opengl/libs/
DAndroid.mk7 egl.cfg_config_module :=
12 LOCAL_MODULE := egl.cfg
15 LOCAL_MODULE_PATH := $(TARGET_OUT)/lib/egl
18 egl.cfg_config_module := $(LOCAL_MODULE)
28 EGL/egl.cpp \
/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/tests/HwAccelerationTest/src/com/android/test/hwui/
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/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/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java20 import static javax.microedition.khronos.egl.EGL10.*;
49 import javax.microedition.khronos.egl.EGL10;
50 import javax.microedition.khronos.egl.EGLConfig;
51 import javax.microedition.khronos.egl.EGLContext;
52 import javax.microedition.khronos.egl.EGLDisplay;
53 import javax.microedition.khronos.egl.EGLSurface;
746 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
748 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attrib_list); in createContext()
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGLSurface.java17 package javax.microedition.khronos.egl;
DEGLDisplay.java17 package javax.microedition.khronos.egl;
DEGL.java17 package javax.microedition.khronos.egl;
DEGLConfig.java17 package javax.microedition.khronos.egl;

123