Home
last modified time | relevance | path

Searched refs:rcEnc (Results 1 – 5 of 5) sorted by relevance

/device/generic/goldfish/opengl/system/gralloc/
Dgralloc.cpp107 renderControl_encoder_context_t *rcEnc = (hostCon ? hostCon->rcEncoder() : NULL)
115 renderControl_encoder_context_t *rcEnc = hostCon->rcEncoder(); \
116 if (!rcEnc) { \
320 if (hostCon && rcEnc) { in gralloc_alloc()
321 cb->hostHandle = rcEnc->rcCreateColorBuffer(rcEnc, w, h, glFormat); in gralloc_alloc()
368 rcEnc->rcCloseColorBuffer(rcEnc, cb->hostHandle); in gralloc_free()
456 rcEnc->rcFBPost(rcEnc, cb->hostHandle); in fb_post()
499 rcEnc->rcFBSetSwapInterval(rcEnc, interval); in fb_setSwapInterval()
538 rcEnc->rcOpenColorBuffer2(rcEnc, cb->hostHandle); in gralloc_register_buffer()
575 rcEnc->rcCloseColorBuffer(rcEnc, cb->hostHandle); in gralloc_unregister_buffer()
[all …]
/device/generic/goldfish/opengl/system/egl/
Degl.cpp106 renderControl_encoder_context_t *rcEnc = (hostCon ? hostCon->rcEncoder() : NULL)
114 renderControl_encoder_context_t *rcEnc = hostCon->rcEncoder(); \
115 if (!rcEnc) { \
274 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)config, in init()
280 rcEnc->rcSetWindowColorBuffer(rcEnc, rcSurface, in init()
301 if (rcSurface && rcEnc) { in ~egl_window_surface_t()
302 rcEnc->rcDestroyWindowSurface(rcEnc, rcSurface); in ~egl_window_surface_t()
319 rcEnc->rcFlushWindowColorBuffer(rcEnc, rcSurface); in swapBuffers()
327 rcEnc->rcSetWindowColorBuffer(rcEnc, rcSurface, in swapBuffers()
367 if (rcEnc) { in ~egl_pbuffer_surface_t()
[all …]
DeglDisplay.cpp129 renderControl_encoder_context_t *rcEnc = hcon->rcEncoder(); in initialize() local
130 if (!rcEnc) { in initialize()
139 m_hostRendererVersion = rcEnc->rcGetRendererVersion(rcEnc); in initialize()
140 EGLint status = rcEnc->rcGetEGLVersion(rcEnc, &m_major, &m_minor); in initialize()
162 m_numConfigs = rcEnc->rcGetNumConfigs(rcEnc, (uint32_t*)&m_numConfigAttribs); in initialize()
178 EGLint n = rcEnc->rcGetConfigs(rcEnc, nInts*sizeof(EGLint), (GLuint*)tmp_buf); in initialize()
263 renderControl_encoder_context_t *rcEnc = hcon->rcEncoder(); in queryHostEGLString() local
264 if (rcEnc) { in queryHostEGLString()
265 int n = rcEnc->rcQueryEGLString(rcEnc, name, NULL, 0); in queryHostEGLString()
270 n = rcEnc->rcQueryEGLString(rcEnc, name, str, -n); in queryHostEGLString()
/device/generic/goldfish/opengl/system/GLESv2/
Dgl2.cpp44 renderControl_encoder_context_t *rcEnc = hostCon->rcEncoder(); \
45 if (!rcEnc) { \
72 rcEnc->rcBindTexture(rcEnc, ((cb_handle_t *)(native_buffer->handle))->hostHandle); in glEGLImageTargetTexture2DOES()
96 rcEnc->rcBindRenderbuffer(rcEnc, ((cb_handle_t *)(native_buffer->handle))->hostHandle); in glEGLImageTargetRenderbufferStorageOES()
/device/generic/goldfish/opengl/system/GLESv1/
Dgl.cpp44 renderControl_encoder_context_t *rcEnc = hostCon->rcEncoder(); \
45 if (!rcEnc) { \
71 rcEnc->rcBindTexture(rcEnc, in glEGLImageTargetTexture2DOES()
97 rcEnc->rcBindRenderbuffer(rcEnc, in glEGLImageTargetRenderbufferStorageOES()