Home
last modified time | relevance | path

Searched refs:seqNo (Results 1 – 15 of 15) sorted by relevance

/drivers/interface/display/composer/v1_0/cache_manager/
Dbuffer_cache_utils.h37 BufferHandle* buffer, uint32_t seqNo, uint32_t callerId) in NativeBufferCache() argument
40 if (buffer == nullptr && seqNo != UINT32_MAX) { in NativeBufferCache()
42 NativeBuffer* nativeBuffer = cacheMgr->SearchCache(seqNo); 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()
51 __func__, callerId, seqNo)); in NativeBufferCache()
52 } else if (buffer != nullptr && seqNo != UINT32_MAX) { in NativeBufferCache()
59 auto retBool = cacheMgr->InsertCache(seqNo, nativeBuffer); in NativeBufferCache()
65 __func__, callerId, seqNo); in NativeBufferCache()
69 … HDF_LOGD("insert %{public}s: callerId=%{public}u, seqNo=%{public}u", __func__, callerId, seqNo); in NativeBufferCache()
[all …]
Ddevice_cache.cpp101 int32_t DeviceCache::SetDisplayClientBuffer(const BufferHandle* buffer, uint32_t seqNo, in SetDisplayClientBuffer() argument
105 const_cast<BufferHandle*>(buffer), seqNo, deviceId_); in SetDisplayClientBuffer()
114 int32_t DeviceCache::SetVirtualDisplayBuffer(const BufferHandle* buffer, uint32_t seqNo, in SetVirtualDisplayBuffer() argument
120 const_cast<BufferHandle*>(buffer), seqNo, deviceId_); in SetVirtualDisplayBuffer()
Ddevice_cache.h47 int32_t SetDisplayClientBuffer(const BufferHandle* buffer, uint32_t seqNo,
49 int32_t SetVirtualDisplayBuffer(const BufferHandle* buffer, uint32_t seqNo,
Dlayer_cache.cpp68 int32_t LayerCache::SetLayerBuffer(const BufferHandle* buffer, uint32_t seqNo, in SetLayerBuffer() argument
79 const_cast<BufferHandle*>(buffer), seqNo, layerId_); in SetLayerBuffer()
Dlayer_cache.h36 …int32_t SetLayerBuffer(const BufferHandle* buffer, uint32_t seqNo, const std::vector<uint32_t>& de…
/drivers/peripheral/display/composer/test/common/
Dhdi_test_layer.cpp29 HdiGrallocBuffer::HdiGrallocBuffer(uint32_t seqNo, uint32_t w, uint32_t h, PixelFormat fmt) in HdiGrallocBuffer() argument
49 seqNo_ = seqNo; in HdiGrallocBuffer()
231 ret = buffer->SetGraphicBuffer([&](const BufferHandle* ptrBuffer, uint32_t seqNo) -> int32_t { in PreparePresent() argument
234 displayID_, id_, ptrBuffer, seqNo, -1, deletingList); in PreparePresent()
Dhdi_test_layer.h30 HdiGrallocBuffer(uint32_t seqNo, uint32_t w, uint32_t h, PixelFormat fmt);
Dhdi_test_display.cpp181 ret = buffer->SetGraphicBuffer([&](const BufferHandle* buffer, uint32_t seqNo) -> int32_t { in Commit() argument
182 int32_t result = device_->SetDisplayClientBuffer(id_, buffer, seqNo, -1); in Commit()
/drivers/interface/display/composer/v1_0/include/
Didisplay_composer_interface.h271 … virtual int32_t SetDisplayClientBuffer(uint32_t devId, const BufferHandle* buffer, uint32_t seqNo,
738 …nt32_t SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle* buffer, uint32_t seqNo,
/drivers/interface/display/composer/v1_0/hdi_impl/
Ddisplay_composer_hdi_impl.h200 … virtual int32_t SetDisplayClientBuffer(uint32_t devId, const BufferHandle* buffer, uint32_t seqNo, in SetDisplayClientBuffer() argument
204 return ToDispErrCode(req_->SetDisplayClientBuffer(devId, buffer, seqNo, fence)); in SetDisplayClientBuffer()
397 …nt32_t SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle* buffer, uint32_t seqNo, in SetLayerBuffer() argument
401 … return ToDispErrCode(req_->SetLayerBuffer(devId, layerId, buffer, seqNo, fence, deletingList)); in SetLayerBuffer()
/drivers/interface/display/composer/v1_0/display_command/
Ddisplay_cmd_responser.h350 uint32_t seqNo = -1; in OnSetDisplayClientBuffer() local
352 DISPLAY_CHK_CONDITION(result, ret == HDF_SUCCESS, unpacker->ReadUint32(seqNo), in OnSetDisplayClientBuffer()
366 … ret = devCache->SetDisplayClientBuffer(buffer, seqNo, [&](const BufferHandle& handle)->int32_t { in OnSetDisplayClientBuffer()
705 uint32_t seqNo = 0; in OnSetLayerBuffer() local
707 DISPLAY_CHK_CONDITION(result, ret == HDF_SUCCESS, unpacker->ReadUint32(seqNo), in OnSetLayerBuffer()
741 …ret = layerCache->SetLayerBuffer(buffer, seqNo, deletingList, [&](const BufferHandle& handle)->int… in OnSetLayerBuffer()
Ddisplay_cmd_requester.h129 int32_t SetDisplayClientBuffer(uint32_t devId, const BufferHandle* buffer, uint32_t seqNo, in SetDisplayClientBuffer() argument
144 retBool = requestPacker_->WriteUint32(seqNo); in SetDisplayClientBuffer()
416 …nt32_t SetLayerBuffer(uint32_t devId, uint32_t layerId, const BufferHandle* buffer, uint32_t seqNo, in SetLayerBuffer() argument
431 bool result = requestPacker_->WriteUint32(seqNo); in SetLayerBuffer()
/drivers/peripheral/display/composer/test/fuzztest/layer_fuzzer/
Dlayer_fuzzer.cpp285 uint32_t seqNo = GetData<uint32_t>(); in TestSetLayerBuffer() local
287 …int32_t ret = g_composerInterface->SetLayerBuffer(devId, layerId, buffer, seqNo, fence, deletingLi… in TestSetLayerBuffer()
/drivers/peripheral/display/composer/test/fuzztest/device_fuzzer/
Ddevice_fuzzer.cpp298 uint32_t seqNo = GetData<uint32_t>(); in TestSetDisplayClientBuffer() local
299 int32_t ret = g_composerInterface->SetDisplayClientBuffer(devId, buffer, seqNo, fence); in TestSetDisplayClientBuffer()
/drivers/peripheral/display/composer/test/unittest/
Dhdi_composer_ut.cpp639 …int32_t ret = graphicBuffer->SetGraphicBuffer([&](const BufferHandle* buffer, uint32_t seqNo) -> i… in __anon3f4469800302() argument
641 …t32_t result = g_composerDevice->SetLayerBuffer(g_displayIds[0], layer->GetId(), buffer, seqNo, -1, in __anon3f4469800302()