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.cpp146 bool RenderBase::attachRenderTarget(const BufferDesc& tgtBuffer) { in attachRenderTarget() argument
148 if (tgtBuffer.format != HAL_PIXEL_FORMAT_RGBA_8888) { in attachRenderTarget()
154 sp<GraphicBuffer> pGfxBuffer = new GraphicBuffer(tgtBuffer.memHandle, in attachRenderTarget()
156 tgtBuffer.width, tgtBuffer.height, in attachRenderTarget()
157 tgtBuffer.format, 1, // layer count in attachRenderTarget()
159 tgtBuffer.stride); in attachRenderTarget()
198 sWidth = tgtBuffer.width; in attachRenderTarget()
199 sHeight = tgtBuffer.height; in attachRenderTarget()
DDisplayUseCase.cpp200 BufferDesc tgtBuffer = {}; in streamFrame() local
201 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { tgtBuffer = buff; }); in streamFrame()
209 if (tgtBuffer.memHandle == nullptr) { in streamFrame()
236 bool result = mCurrentRenderer->drawFrame(tgtBuffer, mImageBuffer); in streamFrame()
241 mDisplay->returnTargetBufferForDisplay(tgtBuffer); in streamFrame()
DRenderBase.h51 virtual bool drawFrame(const BufferDesc& tgtBuffer, const BufferDesc& imageBuffer) = 0;
56 static bool attachRenderTarget(const BufferDesc& tgtBuffer);
DRenderDirectView.cpp69 bool RenderDirectView::drawFrame(const BufferDesc& tgtBuffer, in drawFrame() argument
72 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
DRenderDirectView.h43 virtual bool drawFrame(const BufferDesc& tgtBuffer,
/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/
DEvsStateControl.cpp179 BufferDesc_1_0 tgtBuffer = {}; in updateLoop() local
180 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc_1_0& buff) { in updateLoop()
181 tgtBuffer = buff; in updateLoop()
185 if (tgtBuffer.memHandle == nullptr) { in updateLoop()
190 if (!mCurrentRenderer->drawFrame(convertBufferDesc(tgtBuffer))) { in updateLoop()
196 mDisplay->returnTargetBufferForDisplay(tgtBuffer); in updateLoop()
DRenderPixelCopy.cpp65 bool RenderPixelCopy::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument
68 reinterpret_cast<const AHardwareBuffer_Desc *>(&tgtBuffer.buffer.description); in drawFrame()
70 sp<android::GraphicBuffer> tgt = new android::GraphicBuffer(tgtBuffer.buffer.nativeHandle, in drawFrame()
130 tgtBuffer.pixelSize); in drawFrame()
DRenderBase.cpp141 bool RenderBase::attachRenderTarget(const BufferDesc& tgtBuffer) { in attachRenderTarget() argument
143 reinterpret_cast<const AHardwareBuffer_Desc *>(&tgtBuffer.buffer.description); in attachRenderTarget()
151 sp<GraphicBuffer> pGfxBuffer = new GraphicBuffer(tgtBuffer.buffer.nativeHandle, in attachRenderTarget()
DRenderBase.h44 virtual bool drawFrame(const BufferDesc& tgtBuffer) = 0;
49 static bool attachRenderTarget(const BufferDesc& tgtBuffer);
DRenderDirectView.cpp155 bool RenderDirectView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument
157 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
DRenderTopView.cpp182 bool RenderTopView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument
184 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
DRenderPixelCopy.h41 virtual bool drawFrame(const BufferDesc& tgtBuffer);
DRenderDirectView.h43 virtual bool drawFrame(const BufferDesc& tgtBuffer);
DRenderTopView.h45 virtual bool drawFrame(const BufferDesc& tgtBuffer);