/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | HostConnection.cpp | 150 ExtendedRCEncoderContext* rcEnc, in createColorBuffer() argument 152 return rcEnc->rcCreateColorBuffer( in createColorBuffer() 153 rcEnc, width, height, glformat); in createColorBuffer() 339 bool processPipeInit(HostConnectionType connType, renderControl_encoder_context_t *rcEnc) in processPipeInit() argument 341 return ::processPipeInit(connType, rcEnc); in processPipeInit() 643 const std::string& HostConnection::queryGLExtensions(ExtendedRCEncoderContext *rcEnc) { in queryGLExtensions() argument 653 int extensionSize = rcEnc->rcGetGLString(rcEnc, GL_EXTENSIONS, in queryGLExtensions() 658 extensionSize = rcEnc->rcGetGLString(rcEnc, GL_EXTENSIONS, in queryGLExtensions() 671 void HostConnection::queryAndSetHostCompositionImpl(ExtendedRCEncoderContext *rcEnc) { in queryAndSetHostCompositionImpl() argument 672 const std::string& glExtensions = queryGLExtensions(rcEnc); in queryAndSetHostCompositionImpl() [all …]
|
D | HostConnection.h | 118 ExtendedRCEncoderContext* rcEnc, int width, int height, uint32_t glformat); 128 …tual bool processPipeInit(HostConnectionType connType, renderControl_encoder_context_t *rcEnc) = 0; 189 const std::string& queryGLExtensions(ExtendedRCEncoderContext *rcEnc); 192 void setChecksumHelper(ExtendedRCEncoderContext *rcEnc); 193 void queryAndSetSyncImpl(ExtendedRCEncoderContext *rcEnc); 194 void queryAndSetDmaImpl(ExtendedRCEncoderContext *rcEnc); 195 void queryAndSetGLESMaxVersion(ExtendedRCEncoderContext *rcEnc); 196 void queryAndSetNoErrorState(ExtendedRCEncoderContext *rcEnc); 197 void queryAndSetHostCompositionImpl(ExtendedRCEncoderContext *rcEnc); 198 void queryAndSetDirectMemSupport(ExtendedRCEncoderContext *rcEnc); [all …]
|
D | ProcessPipe.cpp | 179 bool processPipeInit(HostConnectionType connType, renderControl_encoder_context_t *rcEnc) { in processPipeInit() argument 187 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 | 297 ExtendedRCEncoderContext *const rcEnc = conn.getRcEncoder(); in lock_impl() local 299 const int res = rcEnc->rcColorBufferCacheFlush( in lock_impl() 300 rcEnc, handle.hostHandle, 0, usageSwRead); in lock_impl() 309 if (rcEnc->hasYUVCache()) { in lock_impl() 326 rcEnc->rcReadColorBufferYUV(rcEnc, handle.hostHandle, in lock_impl() 332 rcEnc->rcReadColorBuffer(rcEnc, handle.hostHandle, in lock_impl() 356 rcEnc->rcReadColorBuffer(rcEnc, in lock_impl() 417 ExtendedRCEncoderContext *const rcEnc = conn.getRcEncoder(); in unlock_impl() local 419 rcEnc->bindDmaDirectly(bufferBits, in unlock_impl() 421 rcEnc->rcUpdateColorBufferDMA(rcEnc, handle.hostHandle, in unlock_impl() [all …]
|
/device/generic/goldfish-opengl/system/egl/ |
D | egl.cpp | 141 ExtendedRCEncoderContext *rcEnc = (hostCon ? hostCon->rcEncoder() : NULL) 149 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \ 150 if (!rcEnc) { \ 166 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \ 167 if (!rcEnc) { \ 218 switch (rcEnc->getGLESMaxVersion()) { in EGLContext_t() 412 rcSurface = rcEnc->rcCreateWindowSurface(rcEnc, (uintptr_t)s_display.getIndexOfConfig(config), in init() 419 rcEnc->rcSetWindowColorBuffer(rcEnc, rcSurface, in init() 440 if (rcSurface && rcEnc) { in ~egl_window_surface_t() 441 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/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/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/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 | 350 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \ 351 if (!rcEnc) { \ 355 goldfish_vk::ResourceTracker::get()->setupFeatures(rcEnc->featureInfo_const()); \ 358 ExtendedRCEncoderContext *rcEnc = hostCon->rcEncoder(); \
|