Home
last modified time | relevance | path

Searched refs:EGLConfig (Results 1 – 25 of 94) sorted by relevance

1234

/frameworks/native/opengl/tools/glgen/static/egl/
DEGLConfig.java24 public class EGLConfig extends EGLObjectHandle { class
25 private EGLConfig(int handle) { in EGLConfig() method in EGLConfig
32 if (!(o instanceof EGLConfig)) return false; in equals()
34 EGLConfig that = (EGLConfig) o; in equals()
/frameworks/base/opengl/java/android/opengl/
DEGLConfig.java24 public class EGLConfig extends EGLObjectHandle { class
25 private EGLConfig(int handle) { in EGLConfig() method in EGLConfig
32 if (!(o instanceof EGLConfig)) return false; in equals()
34 EGLConfig that = (EGLConfig) o; in equals()
DEGL14.java189 EGLConfig[] configs, in eglGetConfigs()
202 EGLConfig[] configs, in eglChooseConfig()
213 EGLConfig config, in eglGetConfigAttrib()
223 EGLConfig config, in _eglCreateWindowSurface()
231 EGLConfig config, in _eglCreateWindowSurfaceTexture()
238 EGLConfig config, in eglCreateWindowSurface()
273 EGLConfig config, in eglCreatePbufferSurface()
282 EGLConfig config, in eglCreatePixmapSurface()
332 EGLConfig config, in eglCreatePbufferFromClientBuffer()
373 EGLConfig config, in eglCreateContext()
DGLSurfaceView.java25 import javax.microedition.khronos.egl.EGLConfig;
708 void onSurfaceCreated(GL10 gl, EGLConfig config); in onSurfaceCreated()
760 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext()
767 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext()
797 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, in createWindowSurface()
805 EGLConfig config, Object nativeWindow) { in createWindowSurface()
844 EGLConfig chooseConfig(EGL10 egl, EGLDisplay display); in chooseConfig()
853 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig()
867 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
872 EGLConfig config = chooseConfig(egl, display, configs); in chooseConfig()
[all …]
/frameworks/native/opengl/tests/include/
DEGLUtils.h43 EGLConfig* outConfig);
49 EGLConfig* outConfig);
80 EGLConfig* outConfig) in selectConfigForPixelFormat()
94 EGLConfig* const configs = (EGLConfig*)malloc(sizeof(EGLConfig)*numConfigs); in selectConfigForPixelFormat()
101 EGLConfig config = NULL; in selectConfigForPixelFormat()
125 EGLConfig* outConfig) in selectConfigForNativeWindow()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java36 …public native boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] confi… in eglChooseConfig()
37 …public native boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, … in eglGetConfigAttrib()
38 …public native boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, int config_size, … in eglGetConfigs()
53 …public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context,… in eglCreateContext()
61 …public EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list)… in eglCreatePbufferSurface()
69 …public EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixma… in eglCreatePixmapSurface()
78 …public EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_windo… in eglCreateWindowSurface()
148 …private native int _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_contex… in _eglCreateContext()
149 …private native int _eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_lis… in _eglCreatePbufferSurface()
150 …private native void _eglCreatePixmapSurface(EGLSurface sur, EGLDisplay display, EGLConfig config, … in _eglCreatePixmapSurface()
[all …]
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
DGL2JNIView.java43 import javax.microedition.khronos.egl.EGLConfig;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext()
121 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig()
131 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
137 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, in chooseConfig()
138 EGLConfig[] configs) { in chooseConfig()
139 EGLConfig closestConfig = null; in chooseConfig()
141 for(EGLConfig config : configs) { in chooseConfig()
169 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib()
178 EGLConfig[] configs) { in printConfigs()
[all …]
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfView.java43 import javax.microedition.khronos.egl.EGLConfig;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext()
121 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig()
131 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
137 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, in chooseConfig()
138 EGLConfig[] configs) { in chooseConfig()
139 EGLConfig closestConfig = null; in chooseConfig()
141 for(EGLConfig config : configs) { in chooseConfig()
169 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib()
178 EGLConfig[] configs) { in printConfigs()
[all …]
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DGLDualGL2View.java36 import javax.microedition.khronos.egl.EGLConfig;
83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext()
124 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig()
134 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
140 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, in chooseConfig()
141 EGLConfig[] configs) { in chooseConfig()
142 EGLConfig closestConfig = null; in chooseConfig()
144 for(EGLConfig config : configs) { in chooseConfig()
172 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib()
181 EGLConfig[] configs) { in printConfigs()
[all …]
/frameworks/native/opengl/tools/glgen/specs/egl/
DEGL14.spec6 EGLBoolean eglGetConfigs ( EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_conf…
7 EGLBoolean eglChooseConfig ( EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint …
8 EGLBoolean eglGetConfigAttrib ( EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value )
9 EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, cons…
10 EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
11 EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, c…
18 …ClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EG…
23 EGLContext eglCreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGL…
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGL10.java97 …boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] configs, int config… in eglChooseConfig()
99 …EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[]… in eglCreateContext()
100 EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list); in eglCreatePbufferSurface()
101 …EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int… in eglCreatePixmapSurface()
102 …EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int… in eglCreateWindowSurface()
105 … boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); in eglGetConfigAttrib()
106 …boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, int config_size, int[] num_conf… in eglGetConfigs()
/frameworks/native/opengl/tests/angeles/include/GLES/
Degl.h71 typedef void *EGLConfig;
202 GLAPI EGLBoolean APIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EG…
203 GLAPI EGLBoolean APIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *co…
204 GLAPI EGLBoolean APIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, E…
206 GLAPI EGLSurface APIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, NativeWindowTyp…
207 GLAPI EGLSurface APIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapTyp…
208 GLAPI EGLSurface APIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *…
212 GLAPI EGLContext APIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_list…
/frameworks/native/opengl/libs/EGL/
Degl_entries.in4 EGL_ENTRY(EGLBoolean, eglGetConfigs, EGLDisplay, EGLConfig*, EGLint, EGLint*)
5 EGL_ENTRY(EGLBoolean, eglChooseConfig, EGLDisplay, const EGLint *, EGLConfig *, EGLint, EGLint *)
7 EGL_ENTRY(EGLBoolean, eglGetConfigAttrib, EGLDisplay, EGLConfig, EGLint, EGLint *)
8 EGL_ENTRY(EGLSurface, eglCreateWindowSurface, EGLDisplay, EGLConfig, NativeWindowType, const EGLint…
9 EGL_ENTRY(EGLSurface, eglCreatePixmapSurface, EGLDisplay, EGLConfig, NativePixmapType, const EGLint…
10 EGL_ENTRY(EGLSurface, eglCreatePbufferSurface, EGLDisplay, EGLConfig, const EGLint *)
13 EGL_ENTRY(EGLContext, eglCreateContext, EGLDisplay, EGLConfig, EGLContext, const EGLint *)
41 … eglCreatePbufferFromClientBuffer, EGLDisplay, EGLenum, EGLClientBuffer, EGLConfig, const EGLint *)
72 // EGL_ENTRY(EGLSurface, eglCreateStreamProducerSurfaceKHR, EGLDisplay, EGLConfig, EGLStr…
Degl_object.h132 egl_surface_t(egl_display_t* dpy, EGLConfig config,
137 EGLConfig config;
148 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
156 EGLConfig config;
/frameworks/native/opengl/include/EGL/
Degl.h46 typedef void *EGLConfig; typedef
257 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay dpy, EGLConfig *configs,
260 EGLConfig *configs, EGLint config_size,
262 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config,
265 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
268 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config,
270 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config,
286 EGLConfig config, const EGLint *attrib_list);
297 EGLAPI EGLContext EGLAPIENTRY eglCreateContext(EGLDisplay dpy, EGLConfig config,
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.cpp10 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config); in android_eglCreateWindowSurface()
62 (EGLConfig)config_native, in android_eglCreateWindowSurface()
87 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config); in android_eglCreateWindowSurfaceTexture()
144 (EGLConfig)config_native, in android_eglCreateWindowSurfaceTexture()
DeglCreateWindowSurface.java5 EGLConfig config, in _eglCreateWindowSurface()
13 EGLConfig config, in _eglCreateWindowSurfaceTexture()
20 EGLConfig config, in eglCreateWindowSurface()
DeglCreateWindowSurface.nativeReg1 {"_eglCreateWindowSurface", "(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLConfig;Ljava/lang/Objec…
2 {"_eglCreateWindowSurfaceTexture", "(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLConfig;Ljava/lan…
/frameworks/base/core/jni/
Dandroid_opengl_EGL14.cpp269 EGLConfig *configs = (EGLConfig *) 0; in android_eglGetConfigs()
293 configs = new EGLConfig[_configsRemaining]; in android_eglGetConfigs()
314 (EGLConfig *)configs, in android_eglGetConfigs()
351 EGLConfig *configs = (EGLConfig *) 0; in android_eglChooseConfig()
405 configs = new EGLConfig[_configsRemaining]; in android_eglChooseConfig()
433 (EGLConfig *)configs, in android_eglChooseConfig()
469 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config); in android_eglGetConfigAttrib()
499 (EGLConfig)config_native, in android_eglGetConfigAttrib()
524 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config); in android_eglCreateWindowSurface()
576 (EGLConfig)config_native, in android_eglCreateWindowSurface()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java33 import javax.microedition.khronos.egl.EGLConfig;
59 private static EGLConfig mEglConfig = null;
89 EGLConfig eglConfig = chooseEglConfig(egl, eglDisplay); in newTarget()
119 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay); in forSurfaceHolder()
138 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay); in forSurfaceTexture()
157 EGLConfig eglConfig = chooseEglConfig(mEgl, mDisplay); in forSurface()
319 private static EGLConfig chooseEglConfig(EGL10 egl, EGLDisplay display) { in chooseEglConfig()
322 EGLConfig[] configs = new EGLConfig[1]; in chooseEglConfig()
383 private static EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext()
391 EGLConfig eglConfig = chooseEglConfig(egl, display); in createSurface()
/frameworks/native/opengl/specs/
DEGL_ANDROID_recordable.txt42 boolean EGLConfig attribute that indicates whether the EGLConfig supports
77 subsection titled Other EGLConfig Attribute Descriptions.
105 any drawback associated with using a recordable EGLConfig. Such
121 In this case, the VisualID of the EGLConfig would correspond to a YUV
123 EGLConfig would likely have the EGL_SLOW_CONFIG caveat because using that
129 video encoder. In this case, the VisualID of the EGLConfig would
131 read. The EGLConfig would likely not need to have any caveat set, as using
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java28 import javax.microedition.khronos.egl.EGLConfig;
111 EGLConfig mEglConfig;
114 private EGLConfig chooseEglConfig() { in chooseEglConfig()
116 EGLConfig[] configs = new EGLConfig[1]; in chooseEglConfig()
140 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext()
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp282 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration()
343 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); in printEGLConfigurations()
367 EGLConfig myConfig = {0}; in main()
413 EGLConfig* const configs = new EGLConfig[numConfigs]; in main()
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
DTestView.java43 import javax.microedition.khronos.egl.EGLConfig;
79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated()
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
DGLJNIView.java43 import javax.microedition.khronos.egl.EGLConfig;
79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated()

1234