Lines Matching refs:rcEnc
147 ExtendedRCEncoderContext *rcEnc = (hostCon ? hostCon->rcEncoder() : NULL)
155 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \
156 if (!rcEnc) { \
172 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \
173 if (!rcEnc) { \
224 switch (rcEnc->getGLESMaxVersion()) { in EGLContext_t()
418 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)s_display.getIndexOfConfig(config), in init()
425 rcEnc->rcSetWindowColorBuffer(rcEnc, rcSurface, in init()
446 if (rcSurface && rcEnc) { in ~egl_window_surface_t()
447 rcEnc->rcDestroyWindowSurface(rcEnc, rcSurface); in ~egl_window_surface_t()
479 rcEnc->rcCreateSyncKHR(rcEnc, type, in createNativeSync()
532 rcEnc->rcCreateSyncKHR(rcEnc, type, in createNativeSync_virtioGpu()
643 rcEnc->rcFlushWindowColorBuffer(rcEnc, rcSurface); in swapBuffers()
648 if (rcEnc->hasVirtioGpuNativeSync()) { in swapBuffers()
649 rcEnc->rcFlushWindowColorBufferAsync(rcEnc, rcSurface); in swapBuffers()
657 } else if (rcEnc->hasNativeSync()) { in swapBuffers()
658 rcEnc->rcFlushWindowColorBufferAsync(rcEnc, rcSurface); in swapBuffers()
661 rcEnc->rcFlushWindowColorBuffer(rcEnc, rcSurface); in swapBuffers()
691 rcEnc->rcSetWindowColorBuffer(rcEnc, rcSurface, in swapBuffers()
735 if (rcEnc) { in ~egl_pbuffer_surface_t()
740 rcEnc->rcCloseColorBuffer(rcEnc, rcColorBuffer); in ~egl_pbuffer_surface_t()
743 if (rcSurface) rcEnc->rcDestroyWindowSurface(rcEnc, rcSurface); in ~egl_pbuffer_surface_t()
782 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)s_display.getIndexOfConfig(config), in init()
789 rcColorBuffer = grallocHelper->createColorBuffer(rcEnc, getWidth(), getHeight(), pixelFormat); in init()
801 rcEnc->rcSetWindowColorBuffer(rcEnc, rcSurface, rcColorBuffer); in init()
844 int n = rcEnc->rcGetGLString(rcEnc, GL_EXTENSIONS, NULL, 0); in getExtStringArray()
847 n = rcEnc->rcGetGLString(rcEnc, GL_EXTENSIONS, hostStr, -n); in getExtStringArray()
948 int n = rcEnc->rcGetGLString(rcEnc, glEnum, NULL, 0); in getGLString()
951 n = rcEnc->rcGetGLString(rcEnc, glEnum, hostStr, -n); in getGLString()
1101 *num_config = rcEnc->rcChooseConfig(rcEnc, in eglChooseConfig()
1448 rcEnc->rcDestroyContext(rcEnc, context->rcContext); in s_eglReleaseThreadImpl()
1553 rcEnc->rcBindTexture(rcEnc, pbSurface->getRcColorBuffer()); in eglBindTexImage()
1583 rcEnc->rcFBSetSwapInterval(rcEnc, interval); //TODO: implement on the host in eglSwapInterval()
1642 if (rcEnc->getGLESMaxVersion() >= GLES_MAX_VERSION_3_0) { in eglCreateContext()
1655 switch (rcEnc->getGLESMaxVersion()) { in eglCreateContext()
1681 if (rcEnc->getGLESMaxVersion() < GLES_MAX_VERSION_3_0) { in eglCreateContext()
1689 if (rcEnc->getGLESMaxVersion() < GLES_MAX_VERSION_3_1) { in eglCreateContext()
1695 if (rcEnc->getGLESMaxVersion() < GLES_MAX_VERSION_3_2) { in eglCreateContext()
1732 …uint32_t rcContext = rcEnc->rcCreateContext(rcEnc, (uintptr_t)s_display.getIndexOfConfig(config), … in eglCreateContext()
1763 rcEnc->rcDestroyContext(rcEnc, context->rcContext); in eglDestroyContext()
1823 if (rcEnc->rcMakeCurrent(rcEnc, ctxHandle, drawHandle, readHandle) == EGL_FALSE) { in eglMakeCurrent()
2159 uint32_t img = rcEnc->rcCreateClientImage(rcEnc, ctxHandle, target, texture); in eglCreateImageKHR()
2198 return rcEnc->rcDestroyClientImage(rcEnc, host_egl_image); in eglDestroyImageKHR()
2218 !rcEnc->hasNativeSync() && in eglCreateSyncKHR()
2219 !rcEnc->hasVirtioGpuNativeSync())) { in eglCreateSyncKHR()
2272 if (rcEnc->hasVirtioGpuNativeSync()) { in eglCreateSyncKHR()
2280 } else if (rcEnc->hasNativeSync()) { in eglCreateSyncKHR()
2301 if (rcEnc->hasVirtioGpuNativeSync()) { in eglCreateSyncKHR()
2315 if (!rcEnc->hasNativeSync() && !rcEnc->hasVirtioGpuNativeSync()) { in eglCreateSyncKHR()
2341 if (rcEnc->hasVirtioGpuNativeSync() || rcEnc->hasNativeSync()) { in eglDestroySyncKHR()
2342 rcEnc->rcDestroySyncKHR(rcEnc, sync->handle); in eglDestroySyncKHR()
2368 if (rcEnc->hasVirtioGpuNativeSync() || rcEnc->hasNativeSync()) { in eglClientWaitSyncKHR()
2369 retval = rcEnc->rcClientWaitSyncKHR in eglClientWaitSyncKHR()
2370 (rcEnc, sync->handle, flags, timeout); in eglClientWaitSyncKHR()
2407 if (rcEnc->hasVirtioGpuNativeSync() || rcEnc->hasNativeSyncV4()) { in eglGetSyncAttribKHR()
2408 if (rcEnc->rcIsSyncSignaled(rcEnc, sync->handle)) { in eglGetSyncAttribKHR()
2452 if (rcEnc->hasVirtioGpuNativeSync() || rcEnc->hasNativeSyncV3()) { in eglWaitSyncKHR()
2454 rcEnc->rcWaitSyncKHR(rcEnc, sync->handle, flags); in eglWaitSyncKHR()