Home
last modified time | relevance | path

Searched refs:tgtBuffer (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/cpp/evs/support_library/
DRenderBase.cpp138 bool RenderBase::attachRenderTarget(const BufferDesc& tgtBuffer) { in attachRenderTarget() argument
140 if (tgtBuffer.format != HAL_PIXEL_FORMAT_RGBA_8888) { in attachRenderTarget()
147 new GraphicBuffer(tgtBuffer.memHandle, GraphicBuffer::CLONE_HANDLE, tgtBuffer.width, in attachRenderTarget()
148 tgtBuffer.height, tgtBuffer.format, 1, // layer count in attachRenderTarget()
149 GRALLOC_USAGE_HW_RENDER, tgtBuffer.stride); in attachRenderTarget()
187 sWidth = tgtBuffer.width; in attachRenderTarget()
188 sHeight = tgtBuffer.height; in attachRenderTarget()
DDisplayUseCase.cpp202 BufferDesc tgtBuffer = {}; in streamFrame() local
203 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { tgtBuffer = buff; }); in streamFrame()
211 if (tgtBuffer.memHandle == nullptr) { in streamFrame()
238 bool result = mCurrentRenderer->drawFrame(tgtBuffer, mImageBuffer); in streamFrame()
243 mDisplay->returnTargetBufferForDisplay(tgtBuffer); in streamFrame()
DRenderBase.h48 virtual bool drawFrame(const BufferDesc& tgtBuffer, const BufferDesc& imageBuffer) = 0;
53 static bool attachRenderTarget(const BufferDesc& tgtBuffer);
DRenderDirectView.cpp67 bool RenderDirectView::drawFrame(const BufferDesc& tgtBuffer, const BufferDesc& imageBuffer) { in drawFrame() argument
69 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
DRenderDirectView.h41 virtual bool drawFrame(const BufferDesc& tgtBuffer, const BufferDesc& imageBuffer) override;
/packages/services/Car/cpp/computepipe/runner/debug_display_manager/
DEvsDisplayManager.cpp130 BufferDesc tgtBuffer = {}; in threadFn() local
131 evsDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { in threadFn()
132 tgtBuffer = buff; in threadFn()
137 if (!evsRenderer.drawFrame(tgtBuffer, srcBuffer)) { in threadFn()
142 evsDisplay->returnTargetBufferForDisplay(tgtBuffer); in threadFn()
/packages/services/Car/cpp/evs/apps/default/src/
DRenderPixelCopy.cpp77 bool RenderPixelCopy::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument
79 native_handle_t* targetBufferNativeHandle = getNativeHandle(tgtBuffer); in drawFrame()
88 reinterpret_cast<const AHardwareBuffer_Desc*>(&tgtBuffer.buffer.description); in drawFrame()
146 tgtBuffer.pixelSizeBytes); in drawFrame()
DRenderBase.cpp143 bool RenderBase::attachRenderTarget(const BufferDesc& tgtBuffer) { in attachRenderTarget() argument
144 native_handle_t* nativeHandle = getNativeHandle(tgtBuffer); in attachRenderTarget()
153 reinterpret_cast<const AHardwareBuffer_Desc*>(&tgtBuffer.buffer.description); in attachRenderTarget()
DEvsStateControl.cpp210 BufferDesc tgtBuffer; in updateLoop() local
211 if (auto status = displayHandle->getTargetBuffer(&tgtBuffer); !status.isOk()) { in updateLoop()
216 if (!mCurrentRenderer->drawFrame(tgtBuffer)) { in updateLoop()
222 displayHandle->returnTargetBufferForDisplay(tgtBuffer); in updateLoop()
DRenderDirectView.cpp144 bool RenderDirectView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument
146 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
DRenderTopView.cpp170 bool RenderTopView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument
172 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
/packages/services/Car/cpp/evs/apps/default/inc/
DRenderBase.h40 const aidl::android::hardware::automotive::evs::BufferDesc& tgtBuffer) = 0;
46 const aidl::android::hardware::automotive::evs::BufferDesc& tgtBuffer);
DRenderPixelCopy.h39 virtual bool drawFrame(const aidl::android::hardware::automotive::evs::BufferDesc& tgtBuffer);
DRenderDirectView.h42 virtual bool drawFrame(const aidl::android::hardware::automotive::evs::BufferDesc& tgtBuffer);
DRenderTopView.h40 virtual bool drawFrame(const aidl::android::hardware::automotive::evs::BufferDesc& tgtBuffer);