Searched refs:tgtBuffer (Results 1 – 9 of 9) sorted by relevance
/packages/services/Car/evs/app/ |
D | RenderPixelCopy.cpp | 62 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 …]
|
D | RenderBase.cpp | 141 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()
|
D | EvsStateControl.cpp | 179 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()
|
D | RenderBase.h | 44 virtual bool drawFrame(const BufferDesc& tgtBuffer) = 0; 49 static bool attachRenderTarget(const BufferDesc& tgtBuffer);
|
D | RenderDirectView.cpp | 74 bool RenderDirectView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument 76 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
|
D | RenderTopView.cpp | 176 bool RenderTopView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument 178 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
|
D | RenderPixelCopy.h | 41 virtual bool drawFrame(const BufferDesc& tgtBuffer);
|
D | RenderDirectView.h | 41 virtual bool drawFrame(const BufferDesc& tgtBuffer);
|
D | RenderTopView.h | 45 virtual bool drawFrame(const BufferDesc& tgtBuffer);
|