Lines Matching refs:rcEnc
107 renderControl_encoder_context_t *rcEnc = (hostCon ? hostCon->rcEncoder() : NULL)
115 renderControl_encoder_context_t *rcEnc = hostCon->rcEncoder(); \
116 if (!rcEnc) { \
272 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)config,
278 rcEnc->rcSetWindowColorBuffer(rcEnc, rcSurface,
299 if (rcSurface && rcEnc) {
300 rcEnc->rcDestroyWindowSurface(rcEnc, rcSurface);
317 rcEnc->rcFlushWindowColorBuffer(rcEnc, rcSurface);
325 rcEnc->rcSetWindowColorBuffer(rcEnc, rcSurface,
368 if (rcEnc) {
369 if (rcColorBuffer) rcEnc->rcCloseColorBuffer(rcEnc, rcColorBuffer);
370 if (rcSurface) rcEnc->rcDestroyWindowSurface(rcEnc, rcSurface);
378 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)config,
385 rcColorBuffer = rcEnc->rcCreateColorBuffer(rcEnc, getWidth(), getHeight(),
392 rcEnc->rcSetWindowColorBuffer(rcEnc, rcSurface, rcColorBuffer);
459 int n = rcEnc->rcGetGLString(rcEnc, glEnum, NULL, 0);
462 n = rcEnc->rcGetGLString(rcEnc, glEnum, hostStr, -n);
589 *num_config = rcEnc->rcChooseConfig(rcEnc, (EGLint*)attrib_list, attribs_size * sizeof(EGLint), (uint32_t*)tempConfigs, config_size);
871 rcEnc->rcBindTexture(rcEnc, pbSurface->getRcColorBuffer());
901 rcEnc->rcFBSetSwapInterval(rcEnc, interval); //TODO: implement on the host
932 uint32_t rcContext = rcEnc->rcCreateContext(rcEnc, (uintptr_t)config, rcShareCtx, version);
965 rcEnc->rcDestroyContext(rcEnc, context->rcContext);
1016 if (rcEnc->rcMakeCurrent(rcEnc, ctxHandle, drawHandle, readHandle) == EGL_FALSE) {
1256 uint32_t img = rcEnc->rcCreateClientImage(rcEnc, ctxHandle, target, texture);
1295 return rcEnc->rcDestroyClientImage(rcEnc, host_egl_image);