Home
last modified time | relevance | path

Searched refs:seqNo (Results 1 - 14 of 14) sorted by relevance

/drivers/interface/display/composer/cache_manager/
H A Dbuffer_cache_utils.h36 BufferHandle* buffer, uint32_t seqNo, uint32_t callerId, bool &needFreeBuffer) in NativeBufferCache()
40 if (buffer == nullptr && seqNo != UINT32_MAX) { in NativeBufferCache()
41 // Fetch buffer from caches indexed by seqNo in NativeBufferCache()
42 NativeBuffer* nativeBuffer = cacheMgr->SearchCache(seqNo); in NativeBufferCache()
44 HDF_LOGE("%{public}s: Get Native buffer cache is not found, callerId=%{public}u, seqNo=%{public}u", in NativeBufferCache()
45 __func__, callerId, seqNo)); in NativeBufferCache()
48 HDF_LOGD("apply %{public}s: callerId=%{public}u, seqNo=%{public}u", __func__, callerId, seqNo); in NativeBufferCache()
50 HDF_LOGE("%{public}s: Get buffer cache is nullptr, callerId=%{public}u, seqNo=%{public}u", in NativeBufferCache()
51 __func__, callerId, seqNo)); in NativeBufferCache()
35 NativeBufferCache(const std::shared_ptr<CacheManager<uint32_t, NativeBuffer>>& cacheMgr, BufferHandle* buffer, uint32_t seqNo, uint32_t callerId, bool &needFreeBuffer) NativeBufferCache() argument
[all...]
H A Ddevice_cache.cpp141 int32_t DeviceCache::SetDisplayClientBuffer(BufferHandle*& buffer, uint32_t seqNo, bool &needFreeBuffer, in SetDisplayClientBuffer() argument
145 HDF_LOGI("%{public}s, seqNo %{public}u, fd %{public}d, size %{public}d", __func__, seqNo, buffer->fd, in SetDisplayClientBuffer()
148 BufferHandle* handle = BufferCacheUtils::NativeBufferCache(clientBufferCaches_, buffer, seqNo, deviceId_, in SetDisplayClientBuffer()
154 clientBufferCaches_->EraseCache(seqNo); in SetDisplayClientBuffer()
162 int32_t DeviceCache::SetVirtualDisplayBuffer(BufferHandle*& buffer, uint32_t seqNo, bool &needFreeBuffer, in SetVirtualDisplayBuffer() argument
167 BufferHandle* handle = BufferCacheUtils::NativeBufferCache(outputBufferCaches_, buffer, seqNo, deviceId_, in SetVirtualDisplayBuffer()
173 outputBufferCaches_->EraseCache(seqNo); in SetVirtualDisplayBuffer()
H A Dlayer_cache.cpp69 int32_t LayerCache::SetLayerBuffer(BufferHandle*& buffer, uint32_t seqNo, bool &needFreeBuffer, in SetLayerBuffer() argument
73 HDF_LOGI("%{public}s, seqNo %{public}u, fd %{public}d, size %{public}d", __func__, seqNo, buffer->fd, in SetLayerBuffer()
80 BufferHandle* handle = BufferCacheUtils::NativeBufferCache(bufferCaches_, buffer, seqNo, layerId_, needFreeBuffer); in SetLayerBuffer()
85 bufferCaches_->EraseCache(seqNo); in SetLayerBuffer()
H A Ddevice_cache.h48 int32_t SetDisplayClientBuffer(BufferHandle*& buffer, uint32_t seqNo, bool &needFreeBuffer,
50 int32_t SetVirtualDisplayBuffer(BufferHandle*& buffer, uint32_t seqNo, bool &needFreeBuffer,
H A Dlayer_cache.h37 int32_t SetLayerBuffer(BufferHandle*& buffer, uint32_t seqNo, bool &needFreeBuffer,
/drivers/peripheral/display/composer/test/common/
H A Dhdi_test_layer.cpp30 HdiGrallocBuffer::HdiGrallocBuffer(uint32_t seqNo, uint32_t w, uint32_t h, Composer::V1_0::PixelFormat fmt) in HdiGrallocBuffer() argument
51 seqNo_ = seqNo; in HdiGrallocBuffer()
93 DISPLAY_TEST_LOGE("seqNo is invalid")); in SetGraphicBuffer()
233 ret = buffer->SetGraphicBuffer([&](const BufferHandle* ptrBuffer, uint32_t seqNo) -> int32_t { in PreparePresent()
236 displayID_, id_, ptrBuffer, seqNo, -1, deletingList); in PreparePresent()
H A Dhdi_test_layer.h30 HdiGrallocBuffer(uint32_t seqNo, uint32_t w, uint32_t h, Composer::V1_0::PixelFormat fmt);
H A Dhdi_test_display.cpp181 ret = buffer->SetGraphicBuffer([&](const BufferHandle* buffer, uint32_t seqNo) -> int32_t { in Commit()
182 int32_t result = device_->SetDisplayClientBuffer(id_, buffer, seqNo, -1); in Commit()
/drivers/interface/display/composer/v1_0/display_command/
H A Ddisplay_cmd_responser.h340 uint32_t seqNo; member
360 if (!unpacker.ReadUint32(data.seqNo)) { in UnpackDisplayClientBufferInfo()
361 HDF_LOGE("%{public}s, read seqNo error", __func__); in UnpackDisplayClientBufferInfo()
387 int32_t ret = devCache->SetDisplayClientBuffer(data.buffer, data.seqNo, needFreeBuffer, in SetDisplayClientBuffer()
390 DumpLayerBuffer(data.devId, data.seqNo, data.fence, handle, "client_"); in SetDisplayClientBuffer()
394 traceMsg = "data.buffer is nullptr! seqNo:" + std::to_string(data.seqNo); in SetDisplayClientBuffer()
400 " seqNo:" + std::to_string(data.seqNo); in SetDisplayClientBuffer()
789 uint32_t seqNo; member
[all...]
H A Ddisplay_cmd_requester.h126 int32_t SetDisplayClientBuffer(uint32_t devId, const BufferHandle* buffer, uint32_t seqNo, in SetDisplayClientBuffer() argument
146 retBool = requestPacker_.WriteUint32(seqNo); in SetDisplayClientBuffer()
148 HDF_LOGE("%{public}s: write seqNo failed", __func__)); in SetDisplayClientBuffer()
528 int32_t SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle* buffer, uint32_t seqNo, in SetLayerBuffer() argument
549 result = requestPacker_.WriteUint32(seqNo); in SetLayerBuffer()
551 HDF_LOGE("%{public}s: write seqNo failed", __func__)); in SetLayerBuffer()
/drivers/interface/display/composer/v1_0/hdi_impl/
H A Ddisplay_composer_hdi_impl.h204 virtual int32_t SetDisplayClientBuffer(uint32_t devId, const BufferHandle* buffer, uint32_t seqNo,
208 return ToDispErrCode(req_->SetDisplayClientBuffer(devId, buffer, seqNo, fence));
411 virtual int32_t SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle* buffer, uint32_t seqNo,
415 return ToDispErrCode(req_->SetLayerBuffer(devId, layerId, buffer, seqNo, fence, deletingList));
/drivers/interface/display/composer/v1_0/include/
H A Didisplay_composer_interface.h261 * @param seqNo Indicates the sequence number of buffer cache.
271 virtual int32_t SetDisplayClientBuffer(uint32_t devId, const BufferHandle* buffer, uint32_t seqNo,
729 * @param seqNo Indicates the sequence number of buffer cache.
738 virtual int32_t SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle* buffer, uint32_t seqNo,
/drivers/peripheral/display/composer/test/fuzztest/layer_fuzzer/
H A Dlayer_fuzzer.cpp285 uint32_t seqNo = GetData<uint32_t>(); in TestSetLayerBuffer() local
287 int32_t ret = g_composerInterface->SetLayerBuffer(devId, layerId, buffer, seqNo, fence, deletingList); in TestSetLayerBuffer()
/drivers/peripheral/display/composer/test/unittest/
H A Dhdi_composer_ut.cpp714 int32_t ret = graphicBuffer->SetGraphicBuffer([&](const BufferHandle* buffer, uint32_t seqNo) -> int32_t { in HWTEST_F()
716 int32_t result = g_composerDevice->SetLayerBuffer(g_displayIds[0], layer->GetId(), buffer, seqNo, -1, in HWTEST_F()

Completed in 11 milliseconds