Searched refs:tgtBuffer (Results 1 – 15 of 15) sorted by relevance
/packages/services/Car/cpp/evs/support_library/ |
D | RenderBase.cpp | 138 bool RenderBase::attachRenderTarget(const BufferDesc& tgtBuffer) { in attachRenderTarget() argument 140 if (tgtBuffer.format != HAL_PIXEL_FORMAT_RGBA_8888) { in attachRenderTarget() 147 new GraphicBuffer(tgtBuffer.memHandle, GraphicBuffer::CLONE_HANDLE, tgtBuffer.width, in attachRenderTarget() 148 tgtBuffer.height, tgtBuffer.format, 1, // layer count in attachRenderTarget() 149 GRALLOC_USAGE_HW_RENDER, tgtBuffer.stride); in attachRenderTarget() 187 sWidth = tgtBuffer.width; in attachRenderTarget() 188 sHeight = tgtBuffer.height; in attachRenderTarget()
|
D | DisplayUseCase.cpp | 202 BufferDesc tgtBuffer = {}; in streamFrame() local 203 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { tgtBuffer = buff; }); in streamFrame() 211 if (tgtBuffer.memHandle == nullptr) { in streamFrame() 238 bool result = mCurrentRenderer->drawFrame(tgtBuffer, mImageBuffer); in streamFrame() 243 mDisplay->returnTargetBufferForDisplay(tgtBuffer); in streamFrame()
|
D | RenderBase.h | 48 virtual bool drawFrame(const BufferDesc& tgtBuffer, const BufferDesc& imageBuffer) = 0; 53 static bool attachRenderTarget(const BufferDesc& tgtBuffer);
|
D | RenderDirectView.cpp | 67 bool RenderDirectView::drawFrame(const BufferDesc& tgtBuffer, const BufferDesc& imageBuffer) { in drawFrame() argument 69 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
|
D | RenderDirectView.h | 41 virtual bool drawFrame(const BufferDesc& tgtBuffer, const BufferDesc& imageBuffer) override;
|
/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/src/ |
D | RenderPixelCopy.cpp | 77 bool RenderPixelCopy::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument 79 native_handle_t* targetBufferNativeHandle = getNativeHandle(tgtBuffer); in drawFrame() 88 reinterpret_cast<const AHardwareBuffer_Desc*>(&tgtBuffer.buffer.description); in drawFrame() 146 tgtBuffer.pixelSizeBytes); in drawFrame()
|
D | RenderBase.cpp | 143 bool RenderBase::attachRenderTarget(const BufferDesc& tgtBuffer) { in attachRenderTarget() argument 144 native_handle_t* nativeHandle = getNativeHandle(tgtBuffer); in attachRenderTarget() 153 reinterpret_cast<const AHardwareBuffer_Desc*>(&tgtBuffer.buffer.description); in attachRenderTarget()
|
D | EvsStateControl.cpp | 210 BufferDesc tgtBuffer; in updateLoop() local 211 if (auto status = displayHandle->getTargetBuffer(&tgtBuffer); !status.isOk()) { in updateLoop() 216 if (!mCurrentRenderer->drawFrame(tgtBuffer)) { in updateLoop() 222 displayHandle->returnTargetBufferForDisplay(tgtBuffer); in updateLoop()
|
D | RenderDirectView.cpp | 144 bool RenderDirectView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument 146 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
|
D | RenderTopView.cpp | 170 bool RenderTopView::drawFrame(const BufferDesc& tgtBuffer) { in drawFrame() argument 172 if (!attachRenderTarget(tgtBuffer)) { in drawFrame()
|
/packages/services/Car/cpp/evs/apps/default/inc/ |
D | RenderBase.h | 40 const aidl::android::hardware::automotive::evs::BufferDesc& tgtBuffer) = 0; 46 const aidl::android::hardware::automotive::evs::BufferDesc& tgtBuffer);
|
D | RenderPixelCopy.h | 39 virtual bool drawFrame(const aidl::android::hardware::automotive::evs::BufferDesc& tgtBuffer);
|
D | RenderDirectView.h | 42 virtual bool drawFrame(const aidl::android::hardware::automotive::evs::BufferDesc& tgtBuffer);
|
D | RenderTopView.h | 40 virtual bool drawFrame(const aidl::android::hardware::automotive::evs::BufferDesc& tgtBuffer);
|