Home
last modified time | relevance | path

Searched refs:mActiveBuffer (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp91 if ((mSidebandStream == nullptr) && (mActiveBuffer == nullptr)) { in isOpaque()
102 (mActiveBuffer != nullptr || mSidebandStream != nullptr); in isVisible()
141 if (CC_UNLIKELY(mActiveBuffer == 0)) { in prepareClientLayer()
171 layer.source.buffer.buffer = mActiveBuffer; in prepareClientLayer()
257 if (!mActiveBuffer) { in getPixelFormat()
260 return mActiveBuffer->format; in getPixelFormat()
438 sp<GraphicBuffer> oldBuffer = mActiveBuffer; in latchBuffer()
511 uint32_t bufWidth = mActiveBuffer->getWidth(); in latchBuffer()
512 uint32_t bufHeight = mActiveBuffer->getHeight(); in latchBuffer()
582 const sp<GraphicBuffer>& buffer(mActiveBuffer); in isProtected()
[all …]
DBufferQueueLayer.cpp376 mActiveBuffer = mConsumer->getCurrentBuffer(&mActiveBufferSlot, &mActiveBufferFence); in updateActiveBuffer()
378 layerCompositionState.buffer = mActiveBuffer; in updateActiveBuffer()
381 if (mActiveBuffer == nullptr) { in updateActiveBuffer()
412 .hwcBufferCache.getHwcBuffer(slot, mActiveBuffer, &hwcSlot, &hwcBuffer); in setHwcLayerBuffer()
417 ALOGE("[%s] Failed to set buffer %p: %s (%d)", mName.string(), mActiveBuffer->handle, in setHwcLayerBuffer()
423 layerCompositionState.buffer = mActiveBuffer; in setHwcLayerBuffer()
DBufferStateLayer.cpp55 if (mActiveBuffer != nullptr) { in ~BufferStateLayer()
60 engine.unbindExternalTextureBuffer(mActiveBuffer->getId()); in ~BufferStateLayer()
489 GLConsumer::computeTransformMatrix(mTransformMatrix.data(), mActiveBuffer, mCurrentCrop, in setFilteringEnabled()
571 mActiveBuffer = s.buffer; in updateActiveBuffer()
574 layerCompositionState.buffer = mActiveBuffer; in updateActiveBuffer()
DLayer.cpp265 } else if (mActiveBuffer != nullptr) { in getContentCrop()
267 crop = mActiveBuffer->getBounds(); in getContentCrop()
319 if (!isFixedSize() || !mActiveBuffer) { in getBufferScaleTransform()
331 int bufferWidth = mActiveBuffer->getWidth(); in getBufferScaleTransform()
332 int bufferHeight = mActiveBuffer->getHeight(); in getBufferScaleTransform()
349 if (!isFixedSize() || !mActiveBuffer) { in getTransformWithScale()
358 if (!isFixedSize() || !mActiveBuffer) { in getBoundsPreScaling()
825 (mActiveBuffer != nullptr); in doTransactionResize()
1305 sp<const GraphicBuffer> buffer = mActiveBuffer; in getLayerDebugInfo()
1890 auto buffer = mActiveBuffer; in writeToProtoDrawingState()
DLayer.h868 sp<GraphicBuffer> mActiveBuffer; variable
/frameworks/rs/driver/
DrsdVertexArray.h59 uint32_t mActiveBuffer; variable