/drivers/interface/display/composer/v1_0/cache_manager/ |
D | buffer_cache_utils.h | 37 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 …]
|
D | device_cache.cpp | 101 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()
|
D | device_cache.h | 47 int32_t SetDisplayClientBuffer(const BufferHandle* buffer, uint32_t seqNo, 49 int32_t SetVirtualDisplayBuffer(const BufferHandle* buffer, uint32_t seqNo,
|
D | layer_cache.cpp | 68 int32_t LayerCache::SetLayerBuffer(const BufferHandle* buffer, uint32_t seqNo, in SetLayerBuffer() argument 79 const_cast<BufferHandle*>(buffer), seqNo, layerId_); in SetLayerBuffer()
|
D | layer_cache.h | 36 …int32_t SetLayerBuffer(const BufferHandle* buffer, uint32_t seqNo, const std::vector<uint32_t>& de…
|
/drivers/peripheral/display/composer/test/common/ |
D | hdi_test_layer.cpp | 29 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()
|
D | hdi_test_layer.h | 30 HdiGrallocBuffer(uint32_t seqNo, uint32_t w, uint32_t h, PixelFormat fmt);
|
D | hdi_test_display.cpp | 181 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/ |
D | idisplay_composer_interface.h | 271 … 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/ |
D | display_composer_hdi_impl.h | 200 … 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/ |
D | display_cmd_responser.h | 350 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()
|
D | display_cmd_requester.h | 129 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/ |
D | layer_fuzzer.cpp | 285 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/ |
D | device_fuzzer.cpp | 298 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/ |
D | hdi_composer_ut.cpp | 639 …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()
|