/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | resource_application_record.cpp | 25 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 D | bg_efficiency_resources_mgr.cpp | 428 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 D | pipeline_descriptor_set_binder.cpp | 158 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 D | render_node_util.cpp | 43 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 D | node_context_descriptor_set_manager.cpp | 397 refCpuBinding.resourceIndex = refBinding.resourceIndex; in UpdateCpuDescriptorSetImpl()
|
H A D | render_node_parser_util.cpp | 226 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 D | render_node_default_material_render_slot.rng | 28 "resourceIndex": 0, 34 "resourceIndex": 1,
|
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | data_resource.cpp | 54 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 D | render_node_combined_post_process.rng | 56 "resourceIndex": 0
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | node_context_descriptor_set_manager_vk.cpp | 267 … 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 D | resource_application_record.h | 36 PersistTime(const uint32_t resourceIndex, const bool isPersist, const int64_t endTime,
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/ |
H A D | render_data_structures.h | 285 uint32_t resourceIndex { ~0u }; 317 uint32_t resourceIndex { ~0u };
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | shader_pipeline_binder.cpp | 230 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 D | pipeline_layout_desc.h | 73 uint32_t resourceIndex { PipelineLayoutConstants::INVALID_INDEX };
|
/ohos5.0/base/global/i18n_lite/frameworks/i18n/include/ |
H A D | data_resource.h | 137 uint32_t *resourceIndex = nullptr; variable
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.cpp | 2060 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 D | gltf2_exporter.cpp | 446 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()
|