Home
last modified time | relevance | path

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

/packages/services/Car/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/surround_view/app/
DSurroundViewServiceCallback.cpp260 const BufferDesc& tgtBuffer) { in attachRenderTarget() argument
263 &tgtBuffer.buffer.description); in attachRenderTarget()
272 new GraphicBuffer(tgtBuffer.buffer.nativeHandle, in attachRenderTarget()
434 BufferDesc_1_0 tgtBuffer = {}; in receiveFrames() local
435 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc_1_0& buff) { in receiveFrames()
436 tgtBuffer = buff; in receiveFrames()
439 if (!attachRenderTarget(convertBufferDesc(tgtBuffer))) { in receiveFrames()
566 mDisplay->returnTargetBufferForDisplay(tgtBuffer); in receiveFrames()
DSurroundViewServiceCallback.h52 bool attachRenderTarget(const BufferDesc& tgtBuffer);
/packages/services/Car/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/evs/apps/default/
DEvsStateControl.cpp183 BufferDesc_1_0 tgtBuffer = {}; in updateLoop() local
184 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc_1_0& buff) { in updateLoop()
185 tgtBuffer = buff; in updateLoop()
189 if (tgtBuffer.memHandle == nullptr) { in updateLoop()
193 if (!mCurrentRenderer->drawFrame(convertBufferDesc(tgtBuffer))) { in updateLoop()
199 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.cpp140 bool RenderDirectView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument
142 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.h44 virtual bool drawFrame(const BufferDesc& tgtBuffer);
DRenderTopView.h45 virtual bool drawFrame(const BufferDesc& tgtBuffer);