Lines Matching refs:bufferData
4313 if (s.bufferData->hasBarrier) {
4317 if (layer->getDrawingState().barrierProducerId > s.bufferData->producerId) {
4318 layer->callReleaseBufferCallback(s.bufferData->releaseBufferListener,
4320 s.bufferData->frameNumber,
4321 s.bufferData->acquireFence);
4326 s.bufferData->producerId);
4330 if (layer->getDrawingState().barrierFrameNumber < s.bufferData->barrierFrameNumber) {
4334 s.bufferData->barrierFrameNumber));
4339 s.bufferData->barrierFrameNumber);
4358 const bool acquireFenceAvailable = s.bufferData &&
4359 s.bufferData->flags.test(BufferData::BufferDataChange::fenceChanged) &&
4360 s.bufferData->acquireFence;
4362 s.bufferData->acquireFence->getStatus() != Fence::Status::Unsignaled;
4374 auto& listener = s.bufferData->releaseBufferListener;
4384 .bufferId = s.bufferData->getId(),
4385 .frameNumber = s.bufferData->frameNumber});
4558 getExternalTextureFromBufferData(*resolvedState.state.bufferData,
4561 resolvedState.state.bufferData->buffer = resolvedState.externalTexture->getBuffer();
5104 if (layer->setBuffer(composerState.externalTexture, *s.bufferData, postTime,
5220 if (layer->setBuffer(composerState.externalTexture, *s.bufferData, postTime,
8094 BufferData& bufferData, const char* layerName, uint64_t transactionId) {
8095 if (bufferData.buffer &&
8096 exceedsMaxRenderTargetSize(bufferData.buffer->getWidth(), bufferData.buffer->getHeight())) {
8100 bufferData.buffer->getWidth(), bufferData.buffer->getHeight(),
8103 if (bufferData.releaseBufferListener) {
8104 bufferData.releaseBufferListener->onTransactionQueueStalled(
8111 bufferData.flags.test(BufferData::BufferDataChange::cachedBufferChanged);
8112 if (cachedBufferChanged && bufferData.buffer) {
8113 auto result = ClientCache::getInstance().add(bufferData.cachedBuffer, bufferData.buffer);
8121 if (bufferData.releaseBufferListener) {
8122 bufferData.releaseBufferListener->onTransactionQueueStalled(
8131 return ClientCache::getInstance().get(bufferData.cachedBuffer);
8134 if (bufferData.buffer) {
8136 renderengine::impl::ExternalTexture>(bufferData.buffer, getRenderEngine(),