Home
last modified time | relevance | path

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

123

/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java34 …public native boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] confi… in eglChooseConfig()
35 …public native boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, … in eglGetConfigAttrib()
36 …public native boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, int config_size, … in eglGetConfigs()
48 …public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context,… in eglCreateContext()
56 …public EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list)… in eglCreatePbufferSurface()
64 …public EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixma… in eglCreatePixmapSurface()
73 …public EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_windo… in eglCreateWindowSurface()
142 …private native int _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_contex… in _eglCreateContext()
143 …private native int _eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_lis… in _eglCreatePbufferSurface()
144 …private native void _eglCreatePixmapSurface(EGLSurface sur, EGLDisplay display, EGLConfig config, … in _eglCreatePixmapSurface()
[all …]
/frameworks/base/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/base/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/base/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/base/libs/ui/
DEGLUtils.cpp59 EGLConfig* outConfig) in selectConfigForPixelFormat()
73 EGLConfig* const configs = (EGLConfig*)malloc(sizeof(EGLConfig)*numConfigs); in selectConfigForPixelFormat()
80 EGLConfig config = NULL; in selectConfigForPixelFormat()
104 EGLConfig* outConfig) in selectConfigForNativeWindow()
/frameworks/base/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 *)
Degl_display.h47 egl_config_t(int impl, EGLConfig config) in egl_config_t()
50 EGLConfig config; // the implementation's EGLConfig
105 EGLConfig* config;
135 EGLConfig config, egl_display_t const*& dp);
Degl_object.h140 egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, in egl_surface_t()
147 EGLConfig config;
159 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, in egl_context_t()
167 EGLConfig config;
/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/base/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/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/base/opengl/java/android/opengl/
DGLSurfaceView.java24 import javax.microedition.khronos.egl.EGLConfig;
697 void onSurfaceCreated(GL10 gl, EGLConfig config); in onSurfaceCreated()
749 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext()
756 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext()
784 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, in createWindowSurface()
792 EGLConfig config, Object nativeWindow) { in createWindowSurface()
819 EGLConfig chooseConfig(EGL10 egl, EGLDisplay display); in chooseConfig()
828 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig()
842 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
847 EGLConfig config = chooseConfig(egl, display, configs); in chooseConfig()
[all …]
DEGLLogWrapper.java25 import javax.microedition.khronos.egl.EGLConfig;
48 EGLConfig[] configs, int config_size, int[] num_config) { in eglChooseConfig()
78 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, in eglCreateContext()
95 EGLConfig config, int[] attrib_list) { in eglCreatePbufferSurface()
110 EGLConfig config, Object native_pixmap, int[] attrib_list) { in eglCreatePixmapSurface()
126 EGLConfig config, Object native_window, int[] attrib_list) { in eglCreateWindowSurface()
165 public boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, in eglGetConfigAttrib()
180 public boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, in eglGetConfigs()
/frameworks/base/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/include/ui/
DEGLUtils.h40 EGLConfig* outConfig);
46 EGLConfig* outConfig);
/frameworks/base/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/base/core/java/android/view/
DHardwareRenderer.java31 import javax.microedition.khronos.egl.EGLConfig;
379 static EGLConfig sEglConfig;
544 private EGLConfig chooseEglConfig() { in chooseEglConfig()
545 EGLConfig[] configs = new EGLConfig[1]; in chooseEglConfig()
554 EGLConfig[] debugConfigs = new EGLConfig[configsCount[0]]; in chooseEglConfig()
558 for (EGLConfig config : debugConfigs) { in chooseEglConfig()
576 private void printConfig(EGLConfig config) { in printConfig()
655 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext()
/frameworks/base/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/base/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()
/frameworks/base/opengl/tests/gl2_basic/
Dgl2_basic.cpp178 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration()
239 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); in printEGLConfigurations()
263 EGLConfig myConfig = {0}; in main()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLTextureViewActivity.java36 import javax.microedition.khronos.egl.EGLConfig;
139 private EGLConfig mEglConfig;
400 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext()
405 private EGLConfig chooseEglConfig() { in chooseEglConfig()
407 EGLConfig[] configs = new EGLConfig[1]; in chooseEglConfig()
/frameworks/base/services/surfaceflinger/DisplayHardware/
DDisplayHardware.cpp107 EGLConfig* outConfig) in selectConfigForPixelFormat()
109 EGLConfig config = NULL; in selectConfigForPixelFormat()
112 EGLConfig* const configs = new EGLConfig[numConfigs]; in selectConfigForPixelFormat()
175 EGLConfig config = NULL; in init()
/frameworks/base/opengl/tests/gl_basic/
Dgl_basic.cpp97 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { in printEGLConfiguration()
170 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); in printEGLConfigurations()
215 EGLConfig myConfig = {0}; in init_gl_surface()
/frameworks/base/opengl/libagl/
Degl.cpp121 EGLConfig config;
142 EGLConfig config;
145 egl_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat);
168 EGLConfig config, in egl_surface_t()
212 EGLDisplay dpy, EGLConfig config,
334 EGLConfig config, in egl_window_surface_v2_t()
629 EGLDisplay dpy, EGLConfig config,
645 EGLConfig config, in egl_pixmap_surface_t()
693 EGLDisplay dpy, EGLConfig config, int32_t depthFormat,
708 EGLConfig config, int32_t depthFormat, in egl_pbuffer_surface_t()
[all …]
/frameworks/base/opengl/tests/configdump/
Dconfigdump.cpp68 EGLConfig* configs; in main()
74 configs = new EGLConfig[n]; in main()

123