Home
last modified time | relevance | path

Searched refs:resourceIndex (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dresource_application_record.cpp25 PersistTime::PersistTime(const uint32_t resourceIndex, const bool isPersist, const int64_t endTime, in PersistTime() argument
26 …const std::string &reason) : resourceIndex_(resourceIndex), isPersist_(isPersist), endTime_(endTim… in PersistTime()
118 uint32_t resourceIndex = persistTime.at("resourceIndex").get<uint32_t>(); in ParseFromJson() local
122 this->resourceUnitList_.emplace_back(PersistTime {resourceIndex, isPersist_, endTime_, in ParseFromJson()
H A Dbg_efficiency_resources_mgr.cpp428 for (uint32_t resourceIndex = 0; resourceIndex < MAX_RESOURCES_TYPE_NUM; ++resourceIndex) { in UpdateResourcesEndtime() local
429 if ((callbackInfo->GetResourceNumber() & (1 << resourceIndex)) == 0) { in UpdateResourcesEndtime()
432 auto task = [resourceIndex](const auto &it) { in UpdateResourcesEndtime()
433 return it.resourceIndex_ == resourceIndex; in UpdateResourcesEndtime()
442 … record->resourceUnitList_.emplace_back(PersistTime {resourceIndex, resourceInfo->IsPersist(), in UpdateResourcesEndtime()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Dpipeline_descriptor_set_binder.cpp158 currBinding.resourceIndex = bufferIdx.count; in InitFillBindings()
171 currBinding.resourceIndex = imageIdx.count; in InitFillBindings()
184 currBinding.resourceIndex = samplerIdx.count; in InitFillBindings()
262 buffers_[bind.resourceIndex].additionalFlags = flags; in BindBuffer()
263 buffers_[bind.resourceIndex].resource = resource; in BindBuffer()
301 BindableBuffer& ref = buffers_[bind.resourceIndex].resource; in BindBuffers()
356 images_[bind.resourceIndex].additionalFlags = flags; in BindImage()
409 BindableImage& ref = images_[bind.resourceIndex].resource; in BindImages()
461 samplers_[bind.resourceIndex].additionalFlags = flags; in BindSampler()
462 samplers_[bind.resourceIndex].resource = resource; in BindSampler()
[all …]
H A Drender_node_util.cpp43 const RenderNodeGraphResourceLocationType resourceLocation, const uint32_t resourceIndex, in GetRoutedResource() argument
58 handle = rngShareMgr.GetRenderNodeGraphInput(resourceIndex); in GetRoutedResource()
61 handle = rngShareMgr.GetRenderNodeGraphOutput(resourceIndex); in GetRoutedResource()
64 handle = rngShareMgr.GetRegisteredPrevRenderNodeOutput(resourceIndex); in GetRoutedResource()
70 handle = rngShareMgr.GetRegisteredRenderNodeOutput(nodeName, resourceIndex); in GetRoutedResource()
77 handle = rngShareMgr.GetPrevRenderNodeGraphOutput(resourceIndex); in GetRoutedResource()
103 ref.resourceLocation, ref.resourceIndex, handleType); in SetupRenderNodeResourceHandles()
113 ref.resourceLocation, ref.resourceIndex, RenderHandleType::GPU_IMAGE); in SetupRenderNodeResourceHandles()
159 ref.resourceLocation, ref.resourceIndex, RenderHandleType::GPU_IMAGE); in CreateInputRenderPass()
H A Dnode_context_descriptor_set_manager.cpp397 refCpuBinding.resourceIndex = refBinding.resourceIndex; in UpdateCpuDescriptorSetImpl()
H A Drender_node_parser_util.cpp226 SafeGetJsonValue(jsonData, "resourceIndex", context.error, context.data.resourceIndex);
273 SafeGetJsonValue(jsonData, "resourceIndex", context.error, context.data.resourceIndex); in FromJson()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/templates/rendernodegraphs/
H A Drender_node_default_material_render_slot.rng28 "resourceIndex": 0,
34 "resourceIndex": 1,
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/
H A Ddata_resource.cpp54 if (resourceIndex != nullptr) { in ~DataResource()
55 I18nFree(static_cast<void *>(resourceIndex)); in ~DataResource()
108 return BinarySearchString(resourceIndex, resourceCount, index, resource, resourceCount); in GetString()
333 index = &resourceIndex; in GetStringFromStringPool()
364 adjustResourceIndex = resourceIndex; in GetType()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/templates/rendernodegraphs/
H A Drender_node_combined_post_process.rng56 "resourceIndex": 0
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dnode_context_descriptor_set_manager_vk.cpp267 … cpuDescriptorSetRef.images[bindingRef.resourceIndex].resource.handle)) { in BeginBackendFrame()
330 … cpuDescriptorSetRef.images[bindingRef.resourceIndex].resource.handle)) { in BeginBackendFrame()
507 const auto& imgRef = cpuDescriptorSet.images[cpuBinding.resourceIndex]; in CreateGpuDescriptorSet()
513 const auto& samRef = cpuDescriptorSet.samplers[cpuBinding.resourceIndex]; in CreateGpuDescriptorSet()
520 … const RenderHandle handle = cpuDescriptorSet.images[cpuBinding.resourceIndex].resource.handle; in CreateGpuDescriptorSet()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/
H A Dresource_application_record.h36 PersistTime(const uint32_t resourceIndex, const bool isPersist, const int64_t endTime,
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/
H A Drender_data_structures.h285 uint32_t resourceIndex { ~0u };
317 uint32_t resourceIndex { ~0u };
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_pipeline_binder.cpp230 descSetRes.bindings[idx].resIdx = ref.resourceIndex; in ShaderPipelineBinder()
234 … descSetRes.bindings[idx].arrayoffset = descSetBindingRes.buffers[ref.resourceIndex].arrayOffset; in ShaderPipelineBinder()
236 … descSetRes.bindings[idx].arrayoffset = descSetBindingRes.images[ref.resourceIndex].arrayOffset; in ShaderPipelineBinder()
238 … descSetRes.bindings[idx].arrayoffset = descSetBindingRes.samplers[ref.resourceIndex].arrayOffset; in ShaderPipelineBinder()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dpipeline_layout_desc.h73 uint32_t resourceIndex { PipelineLayoutConstants::INVALID_INDEX };
/ohos5.0/base/global/i18n_lite/frameworks/i18n/include/
H A Ddata_resource.h137 uint32_t *resourceIndex = nullptr; variable
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Drender_backend_gles.cpp2060 return data.buffers[res.resourceIndex].arrayOffset; in ProcessBindings()
2062 return data.images[res.resourceIndex].arrayOffset; in ProcessBindings()
2064 return data.samplers[res.resourceIndex].arrayOffset; in ProcessBindings()
2071 const uint32_t resIdx = (index == 0) ? res.resourceIndex : (arrayOffset + index - 1); in ProcessBindings()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_exporter.cpp446 size_t resourceIndex = GLTF_INVALID_INDEX; in ResolveGltfAndResourceIndex() local
448 …esourceIndexString.data(), resourceIndexString.data() + resourceIndexString.size(), resourceIndex); in ResolveGltfAndResourceIndex()
463 return { static_cast<Data*>(pos->second.get()), resourceIndex }; in ResolveGltfAndResourceIndex()