Home
last modified time | relevance | path

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

/packages/services/Car/evs/app/
DRenderPixelCopy.cpp62 bool RenderPixelCopy::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument
66 tgtBuffer.memHandle, android::GraphicBuffer::CLONE_HANDLE, in drawFrame()
67 tgtBuffer.width, tgtBuffer.height, tgtBuffer.format, 1, tgtBuffer.usage, in drawFrame()
68 tgtBuffer.stride); in drawFrame()
75 if (tgtBuffer.format != HAL_PIXEL_FORMAT_RGBA_8888) { in drawFrame()
96 const unsigned width = std::min(tgtBuffer.width, in drawFrame()
98 const unsigned height = std::min(tgtBuffer.height, in drawFrame()
104 tgtPixels, tgtBuffer.stride); in drawFrame()
108 tgtPixels, tgtBuffer.stride); in drawFrame()
112 tgtPixels, tgtBuffer.stride); in drawFrame()
[all …]
DRenderBase.cpp141 bool RenderBase::attachRenderTarget(const BufferDesc& tgtBuffer) { in attachRenderTarget() argument
143 if (tgtBuffer.format != HAL_PIXEL_FORMAT_RGBA_8888) { in attachRenderTarget()
149 sp<GraphicBuffer> pGfxBuffer = new GraphicBuffer(tgtBuffer.memHandle, in attachRenderTarget()
151 tgtBuffer.width, tgtBuffer.height, in attachRenderTarget()
152 tgtBuffer.format, 1, // layer count in attachRenderTarget()
154 tgtBuffer.stride); in attachRenderTarget()
193 sWidth = tgtBuffer.width; in attachRenderTarget()
194 sHeight = tgtBuffer.height; in attachRenderTarget()
DEvsStateControl.cpp179 BufferDesc tgtBuffer = {}; in updateLoop() local
180 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { in updateLoop()
181 tgtBuffer = buff; in updateLoop()
185 if (tgtBuffer.memHandle == nullptr) { in updateLoop()
189 if (!mCurrentRenderer->drawFrame(tgtBuffer)) { in updateLoop()
195 mDisplay->returnTargetBufferForDisplay(tgtBuffer); in updateLoop()
DRenderBase.h44 virtual bool drawFrame(const BufferDesc& tgtBuffer) = 0;
49 static bool attachRenderTarget(const BufferDesc& tgtBuffer);
DRenderDirectView.cpp74 bool RenderDirectView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument
76 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
DRenderTopView.cpp176 bool RenderTopView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument
178 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
DRenderPixelCopy.h41 virtual bool drawFrame(const BufferDesc& tgtBuffer);
DRenderDirectView.h41 virtual bool drawFrame(const BufferDesc& tgtBuffer);
DRenderTopView.h45 virtual bool drawFrame(const BufferDesc& tgtBuffer);