Lines Matching refs:tgtBuffer
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()
113 } else if (srcBuffer.format == tgtBuffer.format) { // 32bit RGBA in drawFrame()
116 tgtPixels, tgtBuffer.stride, in drawFrame()
117 tgtBuffer.pixelSize); in drawFrame()