Searched refs:tgtBuffer (Results 1 – 15 of 15) sorted by relevance
/packages/services/Car/cpp/evs/support_library/ |
D | RenderBase.cpp | 146 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()
|
D | DisplayUseCase.cpp | 200 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()
|
D | RenderBase.h | 51 virtual bool drawFrame(const BufferDesc& tgtBuffer, const BufferDesc& imageBuffer) = 0; 56 static bool attachRenderTarget(const BufferDesc& tgtBuffer);
|
D | RenderDirectView.cpp | 69 bool RenderDirectView::drawFrame(const BufferDesc& tgtBuffer, in drawFrame() argument 72 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
|
D | RenderDirectView.h | 43 virtual bool drawFrame(const BufferDesc& tgtBuffer,
|
/packages/services/Car/cpp/computepipe/runner/debug_display_manager/ |
D | EvsDisplayManager.cpp | 130 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/ |
D | EvsStateControl.cpp | 179 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()
|
D | RenderPixelCopy.cpp | 65 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()
|
D | RenderBase.cpp | 141 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()
|
D | RenderBase.h | 44 virtual bool drawFrame(const BufferDesc& tgtBuffer) = 0; 49 static bool attachRenderTarget(const BufferDesc& tgtBuffer);
|
D | RenderDirectView.cpp | 155 bool RenderDirectView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument 157 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
|
D | RenderTopView.cpp | 182 bool RenderTopView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument 184 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
|
D | RenderPixelCopy.h | 41 virtual bool drawFrame(const BufferDesc& tgtBuffer);
|
D | RenderDirectView.h | 43 virtual bool drawFrame(const BufferDesc& tgtBuffer);
|
D | RenderTopView.h | 45 virtual bool drawFrame(const BufferDesc& tgtBuffer);
|