Home
last modified time | relevance | path

Searched refs:EGLint (Results 1 – 25 of 27) sorted by relevance

12

/device/generic/goldfish-opengl/tests/gles_android_wrapper/
Degl_proc.h23 typedef EGLint (* eglGetError_t) ();
25 typedef EGLBoolean (* eglInitialize_t) (EGLDisplay, EGLint*, EGLint*);
27 typedef char* (* eglQueryString_t) (EGLDisplay, EGLint);
28 typedef EGLBoolean (* eglGetConfigs_t) (EGLDisplay, EGLConfig*, EGLint, EGLint*);
29 typedef EGLBoolean (* eglChooseConfig_t) (EGLDisplay, const EGLint*, EGLConfig*, EGLint, EGLint*);
30 typedef EGLBoolean (* eglGetConfigAttrib_t) (EGLDisplay, EGLConfig, EGLint, EGLint*);
31 …GLSurface (* eglCreateWindowSurface_t) (EGLDisplay, EGLConfig, EGLNativeWindowType, const EGLint*);
32 typedef EGLSurface (* eglCreatePbufferSurface_t) (EGLDisplay, EGLConfig, const EGLint*);
33 …GLSurface (* eglCreatePixmapSurface_t) (EGLDisplay, EGLConfig, EGLNativePixmapType, const EGLint*);
35 typedef EGLBoolean (* eglQuerySurface_t) (EGLDisplay, EGLSurface, EGLint, EGLint*);
[all …]
Degl.cpp228 EGLint eglGetError() in eglGetError()
238 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitialize()
248 const char* eglQueryString(EGLDisplay dpy, EGLint name) in eglQueryString()
253 EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config) in eglGetConfigs()
258 static EGLint * filter_es2_bit(const EGLint *attrib_list, bool *isES2) in filter_es2_bit()
265 EGLint *attribs = NULL; in filter_es2_bit()
270 attribs = new EGLint[nAttribs]; in filter_es2_bit()
271 memcpy(attribs, attrib_list, nAttribs * sizeof(EGLint)); in filter_es2_bit()
288 …lean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_… in eglChooseConfig()
292 EGLint *attribs = filter_es2_bit(attrib_list, NULL); in eglChooseConfig()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/
Degl.entries8 …lean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_…
10 …eateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list);
11 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);
12 …apSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list);
13 …indowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list);
16 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);
17 EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config…
19 EGLSurface eglGetCurrentSurface(EGLint readdraw);
21 EGLint eglGetError(void);
23 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor);
[all …]
Degl_extensions.entries5 EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
7 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
8 EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
10 …EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
/device/generic/goldfish-opengl/system/include/EGL/
Deglext.h71 … EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
74 …TRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list);
84 …EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
87 …EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
141 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_l…
143 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTi…
145 … EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
147 …R (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
149 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint
151 …RYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
[all …]
Degl.h74 #define EGL_DONT_CARE ((EGLint)-1)
201 #define EGL_UNKNOWN ((EGLint)-1)
249 EGLAPI EGLint EGLAPIENTRY eglGetError(void);
252 EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor);
255 EGLAPI const char * EGLAPIENTRY eglQueryString(EGLDisplay dpy, EGLint name);
258 EGLint config_size, EGLint *num_config);
259 EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list,
260 EGLConfig *configs, EGLint config_size,
261 EGLint *num_config);
263 EGLint attribute, EGLint *value);
[all …]
Deglplatform.h128 typedef khronos_int32_t EGLint; typedef
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_client_proc.h16 typedef EGLint (renderControl_APIENTRY *rcGetEGLVersion_client_proc_t) (void * ctx, EGLint*, EGLint
17 typedef EGLint (renderControl_APIENTRY *rcQueryEGLString_client_proc_t) (void * ctx, EGLenum, void*…
18 typedef EGLint (renderControl_APIENTRY *rcGetGLString_client_proc_t) (void * ctx, EGLenum, void*, E…
19 typedef EGLint (renderControl_APIENTRY *rcGetNumConfigs_client_proc_t) (void * ctx, uint32_t*);
20 typedef EGLint (renderControl_APIENTRY *rcGetConfigs_client_proc_t) (void * ctx, uint32_t, GLuint*);
21 typedef EGLint (renderControl_APIENTRY *rcChooseConfig_client_proc_t) (void * ctx, EGLint*, uint32_…
22 typedef EGLint (renderControl_APIENTRY *rcGetFBParam_client_proc_t) (void * ctx, EGLint);
32 typedef EGLint (renderControl_APIENTRY *rcMakeCurrent_client_proc_t) (void * ctx, uint32_t, uint32_…
34 typedef void (renderControl_APIENTRY *rcFBSetSwapInterval_client_proc_t) (void * ctx, EGLint);
37 typedef EGLint (renderControl_APIENTRY *rcColorBufferCacheFlush_client_proc_t) (void * ctx, uint32_…
[all …]
DrenderControl.in2 GL_ENTRY(EGLint, rcGetEGLVersion, EGLint *major, EGLint *minor)
3 GL_ENTRY(EGLint, rcQueryEGLString, EGLenum name, void *buffer, EGLint bufferSize)
4 GL_ENTRY(EGLint, rcGetGLString, EGLenum name, void *buffer, EGLint bufferSize)
5 GL_ENTRY(EGLint, rcGetNumConfigs, uint32_t *numAttribs)
6 GL_ENTRY(EGLint, rcGetConfigs, uint32_t bufSize, GLuint *buffer)
7 GL_ENTRY(EGLint, rcChooseConfig, EGLint *attribs, uint32_t attribs_size, uint32_t *configs, uint32_…
8 GL_ENTRY(EGLint, rcGetFBParam, EGLint param)
18 GL_ENTRY(EGLint, rcMakeCurrent, uint32_t context, uint32_t drawSurf, uint32_t readSurf)
20 GL_ENTRY(void, rcFBSetSwapInterval, EGLint interval)
23 GL_ENTRY(EGLint, rcColorBufferCacheFlush, uint32_t colorbuffer, EGLint postCount,int forRead)
[all …]
DrenderControl_entry.cpp9 EGLint rcGetEGLVersion(EGLint* major, EGLint* minor);
10 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize);
11 EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize);
12 EGLint rcGetNumConfigs(uint32_t* numAttribs);
13 EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer);
14EGLint rcChooseConfig(EGLint* attribs, uint32_t attribs_size, uint32_t* configs, uint32_t configs_…
15 EGLint rcGetFBParam(EGLint param);
25 EGLint rcMakeCurrent(uint32_t context, uint32_t drawSurf, uint32_t readSurf);
27 void rcFBSetSwapInterval(EGLint interval);
30 EGLint rcColorBufferCacheFlush(uint32_t colorbuffer, EGLint postCount, int forRead);
[all …]
DREADME12 EGLint rcGetEGLVersion(EGLint* major, EGLint* minor);
16 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize);
23 EGLint rcGetNumConfigs(uint32_t* numAttribs);
28 EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer);
42 EGLint rcChooseConfig(EGLint *attribs, uint32_t attribs_size, uint32_t *configs, uint32_t configs_s…
51 EGLint rcGetFBParam(EGLint param);
98 EGLint rcMakeCurrent(uint32_t context, uint32_t drawSurf, uint32_t readSurf);
107 void rcFBSetSwapInterval(EGLint interval);
115 EGLint rcColorBufferCacheFlush(uint32_t colorbuffer, EGLint postCount, int forRead);
DrenderControl.types3 EGLint 32 0x%08x
9 EGLint* 32 0x%08x
DrenderControl.attrib7 len major sizeof(EGLint)
9 len minor sizeof(EGLint)
DrenderControl_enc.cpp61 EGLint rcGetEGLVersion_enc(void *self , EGLint* major, EGLint* minor) in rcGetEGLVersion_enc()
69 const unsigned int __size_major = sizeof(EGLint); in rcGetEGLVersion_enc()
70 const unsigned int __size_minor = sizeof(EGLint); in rcGetEGLVersion_enc()
92 EGLint retval; in rcGetEGLVersion_enc()
108 EGLint rcQueryEGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) in rcQueryEGLString_enc()
137 EGLint retval; in rcQueryEGLString_enc()
153 EGLint rcGetGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) in rcGetGLString_enc()
182 EGLint retval; in rcGetGLString_enc()
198 EGLint rcGetNumConfigs_enc(void *self , uint32_t* numAttribs) in rcGetNumConfigs_enc()
225 EGLint retval; in rcGetNumConfigs_enc()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/renderControl_dec/
DrenderControl.in2 GL_ENTRY(EGLint, rcGetEGLVersion, EGLint *major, EGLint *minor)
3 GL_ENTRY(EGLint, rcQueryEGLString, EGLenum name, void *buffer, EGLint bufferSize)
4 GL_ENTRY(EGLint, rcGetGLString, EGLenum name, void *buffer, EGLint bufferSize)
5 GL_ENTRY(EGLint, rcGetNumConfigs, uint32_t *numAttribs)
6 GL_ENTRY(EGLint, rcGetConfigs, uint32_t bufSize, GLuint *buffer)
7 GL_ENTRY(EGLint, rcChooseConfig, EGLint *attribs, uint32_t attribs_size, uint32_t *configs, uint32_…
8 GL_ENTRY(EGLint, rcGetFBParam, EGLint param)
18 GL_ENTRY(EGLint, rcMakeCurrent, uint32_t context, uint32_t drawSurf, uint32_t readSurf)
20 GL_ENTRY(void, rcFBSetSwapInterval, EGLint interval)
23 GL_ENTRY(EGLint, rcColorBufferCacheFlush, uint32_t colorbuffer, EGLint postCount, int forRead)
[all …]
DrenderControl.types3 EGLint 32 0x%08x
9 EGLint* 32 0x%08x
DrenderControl.attrib7 len major sizeof(EGLint)
9 len minor sizeof(EGLint)
/device/generic/goldfish-opengl/system/egl/
DeglDisplay.h53 const char *queryString(EGLint name);
64 EGLBoolean getConfigAttrib(EGLConfig config, EGLint attrib, EGLint * value);
65 EGLBoolean setConfigAttrib(EGLConfig config, EGLint attrib, EGLint value);
83 EGLBoolean getAttribValue(EGLConfig config, EGLint attribIdxi, EGLint * value);
84 EGLBoolean setAttribValue(EGLConfig config, EGLint attribIdxi, EGLint value);
97 std::map<EGLint, EGLint> m_attribs;
103 EGLint *m_configs;
Degl.cpp82 const char * eglStrError(EGLint err) in eglStrError()
287 egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType);
293 EGLint getSwapBehavior() const;
295 EGLint getSurfaceType() { return surfaceType; } in getSurfaceType()
297 EGLint getWidth(){ return width; } in getWidth()
298 EGLint getHeight(){ return height; } in getHeight()
299 EGLint getNativeWidth(){ return nativeWidth; } in getNativeWidth()
300 EGLint getNativeHeight(){ return nativeHeight; } in getNativeHeight()
301 void setTextureFormat(EGLint _texFormat) { texFormat = _texFormat; } in setTextureFormat()
302 EGLint getTextureFormat() { return texFormat; } in getTextureFormat()
[all …]
DeglContext.h39 EGLint majorVersion;
40 EGLint minorVersion;
41 EGLint deviceMajorVersion;
42 EGLint deviceMinorVersion;
47 EGLint deletePending;
DeglDisplay.cpp143 EGLint status = rcEnc->rcGetEGLVersion(rcEnc, &m_major, &m_minor); in initialize()
173 EGLint tmp_buf[nInts]; in initialize()
176 m_configs = new EGLint[nInts-m_numConfigAttribs]; in initialize()
183 EGLint n = rcEnc->rcGetConfigs(rcEnc, nInts*sizeof(EGLint), (GLuint*)tmp_buf); in initialize()
196 m_numConfigs*m_numConfigAttribs*sizeof(EGLint)); in initialize()
314 static char *queryHostEGLString(EGLint name) in queryHostEGLString()
380 const char *eglDisplay::queryString(EGLint name) in queryString()
442 EGLBoolean eglDisplay::getAttribValue(EGLConfig config, EGLint attribIdx, EGLint * value) in getAttribValue()
472 EGLBoolean eglDisplay::getConfigAttrib(EGLConfig config, EGLint attrib, EGLint * value) in getConfigAttrib()
505 EGLint value = 0; in dumpConfig()
[all …]
DeglSync.h38 EGLint type;
39 EGLint status;
/device/generic/opengl-transport/host/libs/virglrenderer/
DRenderControl.cpp214 static EGLint rcGetEGLVersion(void* ctx_, EGLint* major, EGLint* minor) { in rcGetEGLVersion()
219 static EGLint rcQueryEGLString(void* ctx_, EGLenum name, void* buffer, EGLint bufferSize) { in rcQueryEGLString()
255 static EGLint rcGetGLString(void* ctx_, EGLenum name, void* buffer, EGLint bufferSize) { in rcGetGLString()
305 static EGLint rcGetNumConfigs(uint32_t* numAttribs) { in rcGetNumConfigs()
310 static EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer) { in rcGetConfigs()
328 static EGLint rcChooseConfig(void* ctx_, EGLint* attribs, uint32_t, uint32_t* config_ints, in rcChooseConfig()
330 EGLint num_config; in rcChooseConfig()
338 for (EGLint i = 0; i < num_config; i++) { in rcChooseConfig()
340 EGLint config_id; in rcChooseConfig()
359 static EGLint rcGetFBParam(EGLint) { in rcGetFBParam() argument
[all …]
DEglConfig.h25 typedef EGLBoolean (*PFNEGLGETCONFIGATTRIB)(EGLDisplay, EGLConfig, EGLint, EGLint*);
31 static constexpr EGLint kAttribs[] = {
90 EGLint attribs[kNumAttribs];
DAVDVirglRenderer.cpp105 const EGLint EglConfig::kAttribs[];
328 EGLint nConfigs; in virgl_renderer_init()
351 for (EGLint c = 0; c < nConfigs; c++) { in virgl_renderer_init()
352 EGLint configId; in virgl_renderer_init()
366 EGLint const attrib_list[] = { in virgl_renderer_init()
372 EGLint num_config = 0; in virgl_renderer_init()
382 EGLint const pbuffer_attrib_list[] = { in virgl_renderer_init()
397 EGLint const es1_attrib_list[] = { in virgl_renderer_init()
412 EGLint const es2_attrib_list[] = { in virgl_renderer_init()

12