/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | HostConnection.cpp | 156 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 …]
|
D | HostConnection.h | 120 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 …]
|
D | ProcessPipe.cpp | 200 bool processPipeInit(HostConnectionType connType, renderControl_encoder_context_t *rcEnc) { in processPipeInit() argument 208 rcEnc->rcSetPuid(rcEnc, sProcUID); in processPipeInit()
|
D | ProcessPipe.h | 36 extern bool processPipeInit(HostConnectionType connType, renderControl_encoder_context_t *rcEnc);
|
D | VirtioGpuStream.cpp | 55 …l VirtioGpuProcessPipe::processPipeInit(HostConnectionType, renderControl_encoder_context_t *rcEnc) in processPipeInit() argument 67 rcEnc->rcSetPuid(rcEnc, puid.proto); in processPipeInit()
|
D | VirtioGpuStream.h | 33 … virtual bool processPipeInit(HostConnectionType connType, renderControl_encoder_context_t *rcEnc);
|
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_old.cpp | 194 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 …]
|
D | gralloc_30.cpp | 299 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/ |
D | egl.cpp | 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() [all …]
|
D | eglDisplay.cpp | 132 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/ |
D | mapper3.cpp | 118 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 …]
|
D | allocator3.cpp | 334 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/ |
D | gl.cpp | 44 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/ |
D | gl2.cpp | 44 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/ |
D | EmuHWC2.cpp | 65 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 …]
|
D | EmuHWC2.h | 266 void post(HostConnection *hostCon, ExtendedRCEncoderContext *rcEnc,
|
/device/generic/goldfish-opengl/system/vulkan/ |
D | goldfish_vulkan.cpp | 360 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \ 361 if (!rcEnc) { \ 365 goldfish_vk::ResourceTracker::get()->setupFeatures(rcEnc->featureInfo_const()); \
|