Searched refs:rcEnc (Results 1 – 7 of 7) sorted by relevance
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_old.cpp | 225 gralloc_dmaregion_t(ExtendedRCEncoderContext *rcEnc) in gralloc_dmaregion_t() 227 rcEnc->featureInfo_const()->hasSharedSlotsHostMemoryAllocator), in gralloc_dmaregion_t() 233 if (rcEnc->hasDirectMem()) { in gralloc_dmaregion_t() 257 static bool has_DMA_support(const ExtendedRCEncoderContext *rcEnc) { in has_DMA_support() argument 258 return rcEnc->getDmaVersion() > 0 || rcEnc->hasDirectMem(); in has_DMA_support() 261 static gralloc_dmaregion_t* init_gralloc_dmaregion(ExtendedRCEncoderContext *rcEnc) { in init_gralloc_dmaregion() argument 264 s_grdma = new gralloc_dmaregion_t(rcEnc); in init_gralloc_dmaregion() 269 static void get_gralloc_region(ExtendedRCEncoderContext *rcEnc) { in get_gralloc_region() argument 270 gralloc_dmaregion_t* grdma = init_gralloc_dmaregion(rcEnc); in get_gralloc_region() 310 static bool put_gralloc_region(ExtendedRCEncoderContext *rcEnc, uint32_t sz) { in put_gralloc_region() argument [all …]
|
/device/generic/goldfish-opengl/system/hwc3/ |
D | HostFrameComposer.cpp | 276 if (rcEnc->rcCreateDisplayById(rcEnc, displayId)) { in onDisplayCreate() 281 if (rcEnc->rcSetDisplayPoseDpi( in onDisplayCreate() 282 rcEnc, displayId, -1, -1, static_cast<uint32_t>(displayWidth), in onDisplayCreate() 297 rcEnc->rcDestroyDisplay(rcEnc, expectedHostDisplayId); in onDisplayCreate() 298 rcEnc->rcCreateDisplay(rcEnc, &actualHostDisplayId); in onDisplayCreate() 299 rcEnc->rcSetDisplayPose(rcEnc, actualHostDisplayId, -1, -1, in onDisplayCreate() 345 rcEnc->rcDestroyDisplay(rcEnc, displayInfo.hostDisplayId); in onDisplayDestroy() 386 bool hostCompositionV1 = rcEnc->hasHostCompositionV1(); in validateDisplay() 387 bool hostCompositionV2 = rcEnc->hasHostCompositionV2(); in validateDisplay() 482 ExtendedRCEncoderContext* rcEnc; in presentDisplay() local [all …]
|
D | DisplayFinder.cpp | 54 if (rcEnc->hasHWCMultiConfigs()) { in findGoldfishPrimaryDisplay() 55 int count = rcEnc->rcGetFBDisplayConfigsCount(rcEnc); in findGoldfishPrimaryDisplay() 60 display.activeConfigId = rcEnc->rcGetFBDisplayActiveConfig(rcEnc); in findGoldfishPrimaryDisplay() 64 rcEnc->rcGetFBDisplayConfigsParam(rcEnc, configId, FB_WIDTH), // in findGoldfishPrimaryDisplay() 65 rcEnc->rcGetFBDisplayConfigsParam(rcEnc, configId, FB_HEIGHT), // in findGoldfishPrimaryDisplay() 66 rcEnc->rcGetFBDisplayConfigsParam(rcEnc, configId, FB_XDPI), // in findGoldfishPrimaryDisplay() 67 rcEnc->rcGetFBDisplayConfigsParam(rcEnc, configId, FB_YDPI), // in findGoldfishPrimaryDisplay() 74 rcEnc->rcGetFBParam(rcEnc, FB_WIDTH), // in findGoldfishPrimaryDisplay() 75 rcEnc->rcGetFBParam(rcEnc, FB_HEIGHT), // in findGoldfishPrimaryDisplay() 76 rcEnc->rcGetFBParam(rcEnc, FB_XDPI), // in findGoldfishPrimaryDisplay() [all …]
|
D | HostUtils.h | 37 ExtendedRCEncoderContext* rcEnc = hostCon->rcEncoder(); in getAndValidateHostConnection() local 38 if (!rcEnc) { in getAndValidateHostConnection() 44 *ppRcEnc = rcEnc; in getAndValidateHostConnection() 50 ExtendedRCEncoderContext* rcEnc; \ 52 HWC3::Error res = getAndValidateHostConnection(&hostCon, &rcEnc); \
|
D | HostFrameComposer.h | 77 void post(HostConnection* hostCon, ExtendedRCEncoderContext* rcEnc, uint32_t hostDisplayId,
|
/device/generic/goldfish-opengl/system/hals/ |
D | mapper3.cpp | 422 ExtendedRCEncoderContext *const rcEnc = conn.getRcEncoder(); in lockHostImpl() local 425 const int res = rcEnc->rcColorBufferCacheFlush( in lockHostImpl() 426 rcEnc, cb.hostHandle, 0, usageSwRead); in lockHostImpl() 433 if (rcEnc->hasYUVCache()) { in lockHostImpl() 449 rcEnc->rcReadColorBufferYUV(rcEnc, cb.hostHandle, in lockHostImpl() 455 rcEnc->rcReadColorBuffer(rcEnc, cb.hostHandle, in lockHostImpl() 482 if (rcEnc->featureInfo()->hasReadColorBufferDma) { in lockHostImpl() 485 rcEnc->bindDmaDirectly(bufferBits, in lockHostImpl() 488 rcEnc->rcReadColorBufferDMA(rcEnc, in lockHostImpl() 494 rcEnc->rcReadColorBuffer(rcEnc, in lockHostImpl() [all …]
|
D | allocator3.cpp | 322 ExtendedRCEncoderContext *const rcEnc = conn.getRcEncoder(); in allocateCb() local 323 CRASH_IF(!rcEnc, "conn.getRcEncoder() failed"); in allocateCb() 329 rcEnc->featureInfo_const()->hasSharedSlotsHostMemoryAllocator); in allocateCb() 352 hostHandle = rcEnc->rcCreateColorBufferDMA( in allocateCb() 353 rcEnc, in allocateCb() 364 rcEnc->rcCloseColorBuffer(rcEnc, hostHandle); in allocateCb()
|