Home
last modified time | relevance | path

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

12345

/frameworks/native/opengl/tools/glgen/static/egl/
DEGLConfig.java24 public class EGLConfig extends EGLObjectHandle { class
25 private EGLConfig(long 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(long handle) { in EGLConfig() method in EGLConfig
32 if (!(o instanceof EGLConfig)) return false; in equals()
34 EGLConfig that = (EGLConfig) o; in equals()
DEGL14.java199 EGLConfig[] configs, in eglGetConfigs()
212 EGLConfig[] configs, in eglChooseConfig()
223 EGLConfig config, in eglGetConfigAttrib()
233 EGLConfig config, in _eglCreateWindowSurface()
241 EGLConfig config, in _eglCreateWindowSurfaceTexture()
248 EGLConfig config, in eglCreateWindowSurface()
283 EGLConfig config, in eglCreatePbufferSurface()
293 EGLConfig config, in eglCreatePixmapSurface()
343 EGLConfig config, in eglCreatePbufferFromClientBuffer()
355 EGLConfig config, in eglCreatePbufferFromClientBuffer()
[all …]
DGLSurfaceView.java33 import javax.microedition.khronos.egl.EGLConfig;
734 void onSurfaceCreated(GL10 gl, EGLConfig config); in onSurfaceCreated()
786 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext()
793 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext()
823 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, in createWindowSurface()
831 EGLConfig config, Object nativeWindow) { in createWindowSurface()
870 EGLConfig chooseConfig(EGL10 egl, EGLDisplay display); in chooseConfig()
879 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig()
893 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
898 EGLConfig config = chooseConfig(egl, display, configs); in chooseConfig()
[all …]
/frameworks/base/libs/hwui/renderthread/
DEglManager.h90 static EGLConfig load8BitsConfig(EGLDisplay display, SwapBehavior swapBehavior);
91 static EGLConfig loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior);
92 static EGLConfig load1010102Config(EGLDisplay display, SwapBehavior swapBehavior);
93 static EGLConfig loadA8Config(EGLDisplay display, SwapBehavior swapBehavior);
102 EGLConfig mEglConfig;
103 EGLConfig mEglConfigF16;
104 EGLConfig mEglConfig1010102;
105 EGLConfig mEglConfigA8;
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java26 import javax.microedition.khronos.egl.EGLConfig;
41 …public native boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] confi… in eglChooseConfig()
42 …public native boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, … in eglGetConfigAttrib()
43 …public native boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, int config_size, … in eglGetConfigs()
62 …public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context,… in eglCreateContext()
70 …public EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list)… in eglCreatePbufferSurface()
78 …public EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixma… in eglCreatePixmapSurface()
87 …public EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_windo… in eglCreateWindowSurface()
157 …private native long _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_conte… in _eglCreateContext()
158 …private native long _eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_li… in _eglCreatePbufferSurface()
[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/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/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/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 *)
51 EGL_ENTRY(EGLSurface, eglCreatePlatformWindowSurface, EGLDisplay, EGLConfig, void *, const EGLAttri…
52 EGL_ENTRY(EGLSurface, eglCreatePlatformPixmapSurface, EGLDisplay, EGLConfig, void *, const EGLAttri…
[all …]
/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/base/opengl/java/javax/microedition/khronos/egl/
DEGL10.java98 …boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] configs, int config… in eglChooseConfig()
100 …EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[]… in eglCreateContext()
101 EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list); in eglCreatePbufferSurface()
103 …EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int… in eglCreatePixmapSurface()
104 …EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int… in eglCreateWindowSurface()
107 … boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); in eglGetConfigAttrib()
108 …boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, int config_size, int[] num_conf… in eglGetConfigs()
/frameworks/native/opengl/libs/
Dplatform_entries.in5 EGL_ENTRY(EGLBoolean, eglGetConfigs, EGLDisplay, EGLConfig*, EGLint, EGLint*)
6 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, eglCreatePlatformWindowSurface, EGLDisplay, EGLConfig, void*, const EGLAttrib…
10 EGL_ENTRY(EGLSurface, eglCreatePixmapSurface, EGLDisplay, EGLConfig, NativePixmapType, const EGLint…
11 EGL_ENTRY(EGLSurface, eglCreatePlatformPixmapSurface, EGLDisplay, EGLConfig, void*, const EGLAttrib…
12 EGL_ENTRY(EGLSurface, eglCreatePbufferSurface, EGLDisplay, EGLConfig, const EGLint*)
16 EGL_ENTRY(EGLContext, eglCreateContext, EGLDisplay, EGLConfig, EGLContext, const EGLint*)
40 …, eglCreatePbufferFromClientBuffer, EGLDisplay, EGLenum, EGLClientBuffer, EGLConfig, const EGLint*)
[all …]
/frameworks/native/opengl/include/EGL/
Degl.h58 typedef void *EGLConfig; typedef
121 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig
123 EGLAPI EGLContext EGLAPIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_…
124 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLi…
125 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePi…
126 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWi…
129 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribut…
130 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size…
204 …mClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EG…
294 EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurface (EGLDisplay dpy, EGLConfig config, voi…
[all …]
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.cpp10 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config); in android_eglCreateWindowSurface()
58 (EGLConfig)config_native, in android_eglCreateWindowSurface()
84 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config); in android_eglCreateWindowSurfaceTexture()
141 (EGLConfig)config_native, in android_eglCreateWindowSurfaceTexture()
DeglCreateWindowSurface.java5 EGLConfig config, in _eglCreateWindowSurface()
13 EGLConfig config, in _eglCreateWindowSurfaceTexture()
20 EGLConfig config, in eglCreateWindowSurface()
DeglCreatePbufferFromClientBuffer.java7 EGLConfig config, in eglCreatePbufferFromClientBuffer()
19 EGLConfig config, in eglCreatePbufferFromClientBuffer()
DeglCreatePbufferFromClientBuffer.nativeReg1 {"eglCreatePbufferFromClientBuffer", "(Landroid/opengl/EGLDisplay;IILandroid/opengl/EGLConfig;[II)L…
2 {"eglCreatePbufferFromClientBuffer", "(Landroid/opengl/EGLDisplay;IJLandroid/opengl/EGLConfig;[II)L…
/frameworks/native/opengl/tests/lib/include/
DEGLUtils.h48 EGLConfig* outConfig);
54 EGLConfig* outConfig);
60 static inline String8 printEGLConfiguration(EGLDisplay dpy, EGLConfig config);
96 EGLConfig* outConfig) in selectConfigForPixelFormat()
110 std::vector<EGLConfig> configs(numConfigs); in selectConfigForPixelFormat()
116 EGLConfig config = nullptr; in selectConfigForPixelFormat()
138 EGLConfig* outConfig) in selectConfigForNativeWindow()
189 String8 EGLUtils::printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration()
254 std::vector<EGLConfig> configs(numConfig); in printEGLConfigurations()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DSingleFrameTextureViewTestActivity.java37 import javax.microedition.khronos.egl.EGLConfig;
86 private EGLConfig mEglConfig; in onSurfaceTextureAvailable()
166 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in onSurfaceTextureAvailable()
171 private EGLConfig chooseEglConfig() { in onSurfaceTextureAvailable()
173 EGLConfig[] configs = new EGLConfig[1]; in onSurfaceTextureAvailable()
/frameworks/base/core/jni/
Dandroid_opengl_EGL14.cpp279 EGLConfig *configs = (EGLConfig *) 0; in android_eglGetConfigs()
298 configs = new EGLConfig[_configsRemaining]; in android_eglGetConfigs()
320 (EGLConfig *)configs, in android_eglGetConfigs()
358 EGLConfig *configs = (EGLConfig *) 0; in android_eglChooseConfig()
407 configs = new EGLConfig[_configsRemaining]; in android_eglChooseConfig()
436 (EGLConfig *)configs, in android_eglChooseConfig()
473 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config); in android_eglGetConfigAttrib()
503 (EGLConfig)config_native, in android_eglGetConfigAttrib()
529 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config); in android_eglCreateWindowSurface()
577 (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/libs/renderengine/skia/
DSkiaGLRenderEngine.h75 static EGLConfig chooseEglConfig(EGLDisplay display, int format, bool logConfig);
76 static EGLContext createEglContext(EGLDisplay display, EGLConfig config,
83 EGLDisplay display, EGLConfig config, int hwcFormat, Protection protection);
/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

12345