Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DHostConnection.cpp156 ExtendedRCEncoderContext* rcEnc, in createColorBuffer() argument
158 return rcEnc->rcCreateColorBuffer( in createColorBuffer()
159 rcEnc, width, height, glformat); in createColorBuffer()
345 bool processPipeInit(HostConnectionType connType, renderControl_encoder_context_t *rcEnc) in processPipeInit() argument
347 return ::processPipeInit(connType, rcEnc); in processPipeInit()
622 ExtendedRCEncoderContext* rcEnc = m_rcEnc.get(); in rcEncoder() local
623 setChecksumHelper(rcEnc); in rcEncoder()
624 queryAndSetSyncImpl(rcEnc); in rcEncoder()
625 queryAndSetDmaImpl(rcEnc); in rcEncoder()
626 queryAndSetGLESMaxVersion(rcEnc); in rcEncoder()
[all …]
DHostConnection.h120 ExtendedRCEncoderContext* rcEnc, int width, int height, uint32_t glformat);
130 …tual bool processPipeInit(HostConnectionType connType, renderControl_encoder_context_t *rcEnc) = 0;
197 const std::string& queryGLExtensions(ExtendedRCEncoderContext *rcEnc);
200 void setChecksumHelper(ExtendedRCEncoderContext *rcEnc);
201 void queryAndSetSyncImpl(ExtendedRCEncoderContext *rcEnc);
202 void queryAndSetDmaImpl(ExtendedRCEncoderContext *rcEnc);
203 void queryAndSetGLESMaxVersion(ExtendedRCEncoderContext *rcEnc);
204 void queryAndSetNoErrorState(ExtendedRCEncoderContext *rcEnc);
205 void queryAndSetHostCompositionImpl(ExtendedRCEncoderContext *rcEnc);
206 void queryAndSetDirectMemSupport(ExtendedRCEncoderContext *rcEnc);
[all …]
DProcessPipe.cpp200 bool processPipeInit(HostConnectionType connType, renderControl_encoder_context_t *rcEnc) { in processPipeInit() argument
208 rcEnc->rcSetPuid(rcEnc, sProcUID); in processPipeInit()
DProcessPipe.h36 extern bool processPipeInit(HostConnectionType connType, renderControl_encoder_context_t *rcEnc);
DVirtioGpuStream.cpp55 …l VirtioGpuProcessPipe::processPipeInit(HostConnectionType, renderControl_encoder_context_t *rcEnc) in processPipeInit() argument
67 rcEnc->rcSetPuid(rcEnc, puid.proto); in processPipeInit()
DVirtioGpuStream.h33 … virtual bool processPipeInit(HostConnectionType connType, renderControl_encoder_context_t *rcEnc);
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp194 gralloc_dmaregion_t(ExtendedRCEncoderContext *rcEnc) in gralloc_dmaregion_t()
196 rcEnc->featureInfo_const()->hasSharedSlotsHostMemoryAllocator), in gralloc_dmaregion_t()
203 if (rcEnc->hasDirectMem()) { in gralloc_dmaregion_t()
205 } else if (rcEnc->getDmaVersion() > 0) { in gralloc_dmaregion_t()
230 static bool has_DMA_support(const ExtendedRCEncoderContext *rcEnc) { in has_DMA_support() argument
231 return rcEnc->getDmaVersion() > 0 || rcEnc->hasDirectMem(); in has_DMA_support()
234 static gralloc_dmaregion_t* init_gralloc_dmaregion(ExtendedRCEncoderContext *rcEnc) { in init_gralloc_dmaregion() argument
237 s_grdma = new gralloc_dmaregion_t(rcEnc); in init_gralloc_dmaregion()
242 static void get_gralloc_region(ExtendedRCEncoderContext *rcEnc) { in get_gralloc_region() argument
243 gralloc_dmaregion_t* grdma = init_gralloc_dmaregion(rcEnc); in get_gralloc_region()
[all …]
Dgralloc_30.cpp299 ExtendedRCEncoderContext *const rcEnc = conn.getRcEncoder(); in lock_impl() local
301 const int res = rcEnc->rcColorBufferCacheFlush( in lock_impl()
302 rcEnc, handle.hostHandle, 0, usageSwRead); in lock_impl()
311 if (rcEnc->hasYUVCache()) { in lock_impl()
328 rcEnc->rcReadColorBufferYUV(rcEnc, handle.hostHandle, in lock_impl()
334 rcEnc->rcReadColorBuffer(rcEnc, handle.hostHandle, in lock_impl()
358 rcEnc->rcReadColorBuffer(rcEnc, in lock_impl()
419 ExtendedRCEncoderContext *const rcEnc = conn.getRcEncoder(); in unlock_impl() local
421 rcEnc->bindDmaDirectly(bufferBits, in unlock_impl()
423 rcEnc->rcUpdateColorBufferDMA(rcEnc, handle.hostHandle, in unlock_impl()
[all …]
/device/generic/goldfish-opengl/system/egl/
Degl.cpp147 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()
[all …]
DeglDisplay.cpp132 renderControl_encoder_context_t *rcEnc = hcon->rcEncoder(); in initialize() local
133 if (!rcEnc) { in initialize()
142 m_hostRendererVersion = rcEnc->rcGetRendererVersion(rcEnc); in initialize()
143 EGLint status = rcEnc->rcGetEGLVersion(rcEnc, &m_major, &m_minor); in initialize()
165 m_numConfigs = rcEnc->rcGetNumConfigs(rcEnc, (uint32_t*)&m_numConfigAttribs); in initialize()
183 EGLint n = rcEnc->rcGetConfigs(rcEnc, nInts*sizeof(EGLint), (GLuint*)tmp_buf); in initialize()
318 renderControl_encoder_context_t *rcEnc = hcon->rcEncoder(); in queryHostEGLString() local
319 if (rcEnc) { in queryHostEGLString()
320 int n = rcEnc->rcQueryEGLString(rcEnc, name, NULL, 0); in queryHostEGLString()
324 n = rcEnc->rcQueryEGLString(rcEnc, name, str, -n); in queryHostEGLString()
/device/generic/goldfish-opengl/system/hals/
Dmapper3.cpp118 ExtendedRCEncoderContext *const rcEnc = conn.getRcEncoder(); in freeBuffer() local
119 rcEnc->rcCloseColorBuffer(rcEnc, cb->hostHandle); in freeBuffer()
244 ExtendedRCEncoderContext *const rcEnc = conn.getRcEncoder(); in importBufferImpl() local
245 rcEnc->rcOpenColorBuffer2(rcEnc, cb->hostHandle); in importBufferImpl()
376 ExtendedRCEncoderContext *const rcEnc = conn.getRcEncoder(); in lockHostImpl() local
378 const int res = rcEnc->rcColorBufferCacheFlush( in lockHostImpl()
379 rcEnc, cb.hostHandle, 0, usageSwRead); in lockHostImpl()
388 if (rcEnc->hasYUVCache()) { in lockHostImpl()
404 rcEnc->rcReadColorBufferYUV(rcEnc, cb.hostHandle, in lockHostImpl()
410 rcEnc->rcReadColorBuffer(rcEnc, cb.hostHandle, in lockHostImpl()
[all …]
Dallocator3.cpp334 ExtendedRCEncoderContext *const rcEnc = conn.getRcEncoder(); in allocateCb() local
335 CRASH_IF(!rcEnc, "conn.getRcEncoder() failed"); in allocateCb()
338 rcEnc->featureInfo_const()->hasSharedSlotsHostMemoryAllocator); in allocateCb()
359 hostHandle = rcEnc->rcCreateColorBufferDMA( in allocateCb()
360 rcEnc, in allocateCb()
372 rcEnc->rcCloseColorBuffer(rcEnc, hostHandle); in allocateCb()
/device/generic/goldfish-opengl/system/GLESv1/
Dgl.cpp44 renderControl_encoder_context_t *rcEnc = hostCon->rcEncoder(); \
45 if (!rcEnc) { \
80 rcEnc->rcBindTexture(rcEnc, in glEGLImageTargetTexture2DOES()
114 rcEnc->rcBindRenderbuffer(rcEnc, in glEGLImageTargetRenderbufferStorageOES()
/device/generic/goldfish-opengl/system/GLESv2/
Dgl2.cpp44 renderControl_encoder_context_t *rcEnc = hostCon->rcEncoder(); \
45 if (!rcEnc) { \
83 rcEnc->rcBindTexture(rcEnc, in glEGLImageTargetTexture2DOES()
117 rcEnc->rcBindRenderbuffer(rcEnc, in glEGLImageTargetRenderbufferStorageOES()
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.cpp65 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \
66 if (!rcEnc) { \
91 mDisplayWidth = rcEnc->rcGetFBParam(rcEnc, FB_WIDTH); in initDisplayParameters()
92 mDisplayHeight = rcEnc->rcGetFBParam(rcEnc, FB_HEIGHT); in initDisplayParameters()
93 mDisplayDpiX = rcEnc->rcGetFBParam(rcEnc, FB_XDPI); in initDisplayParameters()
94 mDisplayDpiY = rcEnc->rcGetFBParam(rcEnc, FB_YDPI); in initDisplayParameters()
744 bool hostCompositionV1 = rcEnc->hasHostCompositionV1(); in present()
745 bool hostCompositionV2 = rcEnc->hasHostCompositionV2(); in present()
771 post(hostCon, rcEnc, mClientTarget.getBuffer()); in present()
866 rcEnc->rcCompose(rcEnc, in present()
[all …]
DEmuHWC2.h266 void post(HostConnection *hostCon, ExtendedRCEncoderContext *rcEnc,
/device/generic/goldfish-opengl/system/vulkan/
Dgoldfish_vulkan.cpp360 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \
361 if (!rcEnc) { \
365 goldfish_vk::ResourceTracker::get()->setupFeatures(rcEnc->featureInfo_const()); \