Home
last modified time | relevance | path

Searched refs:backBuffer (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaVulkanPipeline.cpp80 sk_sp<SkSurface> backBuffer; in draw() local
83 backBuffer = getBufferSkSurface(bufferParams); in draw()
86 backBuffer = mVkSurface->getCurrentSkSurface(); in draw()
90 if (backBuffer.get() == nullptr) { in draw()
101 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, backBuffer, in draw()
108 SkCanvas* profileCanvas = backBuffer->getCanvas(); in draw()
118 drawResult = vulkanManager().finishFrame(backBuffer.get()); in draw()
/frameworks/native/libs/gui/
DSurface.cpp2424 sp<GraphicBuffer> backBuffer(GraphicBuffer::getSelf(out)); in lock() local
2425 const Rect bounds(backBuffer->width, backBuffer->height); in lock()
2438 backBuffer->width == frontBuffer->width && in lock()
2439 backBuffer->height == frontBuffer->height && in lock()
2440 backBuffer->format == frontBuffer->format); in lock()
2446 copyBlt(backBuffer, frontBuffer, copyback, &fenceFd); in lock()
2462 int backBufferSlot(getSlotFromBufferLocked(backBuffer.get())); in lock()
2476 status_t res = backBuffer->lockAsync( in lock()
2481 backBuffer->handle); in lock()
2486 mLockedBuffer = backBuffer; in lock()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp646 bool setBackBuffer(const sp<ABuffer> &backBuffer) { in setBackBuffer() argument
647 if (backBuffer == nullptr) { in setBackBuffer()
650 if (backBuffer->capacity() < mBackBufferSize) { in setBackBuffer()
653 backBuffer->setRange(0, mBackBufferSize); in setBackBuffer()
654 mBackBuffer = backBuffer; in setBackBuffer()