/device/generic/goldfish-opengl/tests/gles_android_wrapper/ |
D | egl_proc.h | 23 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 …]
|
D | egl.cpp | 228 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/goldfish-opengl/system/renderControl_enc/ |
D | renderControl_client_proc.h | 13 typedef EGLint (renderControl_APIENTRY *rcGetEGLVersion_client_proc_t) (void * ctx, EGLint*, EGLint… 14 typedef EGLint (renderControl_APIENTRY *rcQueryEGLString_client_proc_t) (void * ctx, EGLenum, void*… 15 typedef EGLint (renderControl_APIENTRY *rcGetGLString_client_proc_t) (void * ctx, EGLenum, void*, E… 16 typedef EGLint (renderControl_APIENTRY *rcGetNumConfigs_client_proc_t) (void * ctx, uint32_t*); 17 typedef EGLint (renderControl_APIENTRY *rcGetConfigs_client_proc_t) (void * ctx, uint32_t, GLuint*); 18 typedef EGLint (renderControl_APIENTRY *rcChooseConfig_client_proc_t) (void * ctx, EGLint*, uint32_… 19 typedef EGLint (renderControl_APIENTRY *rcGetFBParam_client_proc_t) (void * ctx, EGLint); 29 typedef EGLint (renderControl_APIENTRY *rcMakeCurrent_client_proc_t) (void * ctx, uint32_t, uint32_… 31 typedef void (renderControl_APIENTRY *rcFBSetSwapInterval_client_proc_t) (void * ctx, EGLint); 34 typedef EGLint (renderControl_APIENTRY *rcColorBufferCacheFlush_client_proc_t) (void * ctx, uint32_… [all …]
|
D | renderControl_entry.cpp | 9 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); 14 …EGLint 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 …]
|
D | renderControl.in | 2 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 …]
|
D | README | 12 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);
|
D | renderControl.types | 3 EGLint 32 0x%08x 9 EGLint* 32 0x%08x
|
D | renderControl_enc.cpp | 59 EGLint rcGetEGLVersion_enc(void *self , EGLint* major, EGLint* minor) in rcGetEGLVersion_enc() 67 const unsigned int __size_major = sizeof(EGLint); in rcGetEGLVersion_enc() 68 const unsigned int __size_minor = sizeof(EGLint); in rcGetEGLVersion_enc() 90 EGLint retval; in rcGetEGLVersion_enc() 106 EGLint rcQueryEGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) in rcQueryEGLString_enc() 135 EGLint retval; in rcQueryEGLString_enc() 151 EGLint rcGetGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) in rcGetGLString_enc() 180 EGLint retval; in rcGetGLString_enc() 196 EGLint rcGetNumConfigs_enc(void *self , uint32_t* numAttribs) in rcGetNumConfigs_enc() 223 EGLint retval; in rcGetNumConfigs_enc() [all …]
|
D | renderControl.attrib | 7 len major sizeof(EGLint) 9 len minor sizeof(EGLint)
|
/device/generic/goldfish-opengl/system/include/EGL/ |
D | eglext.h | 71 … 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 …]
|
D | egl.h | 74 #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 …]
|
D | eglplatform.h | 122 typedef khronos_int32_t EGLint; typedef
|
/device/generic/goldfish-opengl/system/egl/ |
D | eglDisplay.h | 52 const char *queryString(EGLint name); 58 EGLBoolean getConfigAttrib(EGLConfig config, EGLint attrib, EGLint * value); 59 EGLBoolean setConfigAttrib(EGLConfig config, EGLint attrib, EGLint value); 74 EGLBoolean getAttribValue(EGLConfig config, EGLint attribIdxi, EGLint * value); 75 EGLBoolean setAttribValue(EGLConfig config, EGLint attribIdxi, EGLint value); 88 DefaultKeyedVector<EGLint, EGLint> m_attribs; 94 EGLint *m_configs;
|
D | egl.cpp | 68 const char * eglStrError(EGLint err) in eglStrError() 256 egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType); 262 EGLint getSwapBehavior() const; 264 EGLint getSurfaceType() { return surfaceType; } in getSurfaceType() 266 EGLint getWidth(){ return width; } in getWidth() 267 EGLint getHeight(){ return height; } in getHeight() 268 EGLint getNativeWidth(){ return nativeWidth; } in getNativeWidth() 269 EGLint getNativeHeight(){ return nativeHeight; } in getNativeHeight() 270 void setTextureFormat(EGLint _texFormat) { texFormat = _texFormat; } in setTextureFormat() 271 EGLint getTextureFormat() { return texFormat; } in getTextureFormat() [all …]
|
D | eglContext.h | 39 EGLint majorVersion; 40 EGLint minorVersion; 41 EGLint deviceMajorVersion; 42 EGLint deviceMinorVersion; 47 EGLint deletePending;
|
D | eglDisplay.cpp | 64 m_attribs(DefaultKeyedVector<EGLint, EGLint>(ATTRIBUTE_NONE)), in eglDisplay() 148 EGLint status = rcEnc->rcGetEGLVersion(rcEnc, &m_major, &m_minor); in initialize() 178 EGLint tmp_buf[nInts]; in initialize() 179 m_configs = new EGLint[nInts-m_numConfigAttribs]; in initialize() 186 EGLint n = rcEnc->rcGetConfigs(rcEnc, nInts*sizeof(EGLint), (GLuint*)tmp_buf); in initialize() 199 … memcpy(m_configs, tmp_buf + m_numConfigAttribs, m_numConfigs*m_numConfigAttribs*sizeof(EGLint)); in initialize() 281 static char *queryHostEGLString(EGLint name) in queryHostEGLString() 360 const char *eglDisplay::queryString(EGLint name) in queryString() 422 EGLBoolean eglDisplay::getAttribValue(EGLConfig config, EGLint attribIdx, EGLint * value) in getAttribValue() 436 EGLBoolean eglDisplay::getConfigAttrib(EGLConfig config, EGLint attrib, EGLint * value) in getConfigAttrib() [all …]
|
D | eglSync.h | 38 EGLint type; 39 EGLint status;
|
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc.cpp | 1362 EGLint width = rcEnc->rcGetFBParam(rcEnc, FB_WIDTH); in gralloc_device_open() 1364 EGLint height = rcEnc->rcGetFBParam(rcEnc, FB_HEIGHT); in gralloc_device_open() 1366 EGLint xdpi = rcEnc->rcGetFBParam(rcEnc, FB_XDPI); in gralloc_device_open() 1368 EGLint ydpi = rcEnc->rcGetFBParam(rcEnc, FB_YDPI); in gralloc_device_open() 1370 EGLint fps = rcEnc->rcGetFBParam(rcEnc, FB_FPS); in gralloc_device_open() 1372 EGLint min_si = rcEnc->rcGetFBParam(rcEnc, FB_MIN_SWAP_INTERVAL); in gralloc_device_open() 1374 EGLint max_si = rcEnc->rcGetFBParam(rcEnc, FB_MAX_SWAP_INTERVAL); in gralloc_device_open()
|