/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/src/ |
H A D | graphics_manager_common.cpp | 37 backends_[key] = backend; in Register() 101 auto backend = backends_.find(key); in GetEngine() local 102 if (backend == backends_.end() || backend->second == RenderBackend::UNDEFINE) { in GetEngine() 107 if (backend->second != RenderBackend::GLES) { in GetEngine() 140 auto backend = backends_.find(key); in GetEngine() local 141 if (backend == backends_.end() || backend->second == RenderBackend::UNDEFINE) { in GetEngine() 199 auto backend = backends_.find(key); in UnRegister() local 200 if (backend != backends_.end()) { in UnRegister() 201 backends_.erase(backend); in UnRegister() 219 backend = it->second; in GetRenderBackendType() [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
H A D | backend_registrar.h | 36 #define REGISTER_BACKEND(backend, creator) … argument 38 …static OHOS::NeuralNetworkRuntime::BackendRegistrar g_##backend##_backend_registrar(#backend, crea… 41 #define UNREGISTER_BACKEND(backend) … argument 42 BackendManager::GetInstance().RemoveBackend(#backend);
|
H A D | neural_network_core.cpp | 97 if (backend == nullptr) { in OH_NNDevice_GetType() 411 if (backend == nullptr) { in CreateCompiler() 785 if (backend == nullptr) { in OH_NNCompilation_Destroy() 998 if (backend == nullptr) { in OH_NNTensor_Create() 1013 backend->DestroyTensor(tensorImpl); in OH_NNTensor_Create() 1030 if (backend == nullptr) { in OH_NNTensor_CreateWithSize() 1045 backend->DestroyTensor(tensorImpl); in OH_NNTensor_CreateWithSize() 1088 if (backend == nullptr) { in OH_NNTensor_CreateWithFd() 1125 if (backend == nullptr) { in OH_NNTensor_Destroy() 1380 if (backend == nullptr) { in OH_NNExecutor_Construct() [all …]
|
H A D | backend_manager.cpp | 168 bool BackendManager::IsValidBackend(std::shared_ptr<Backend> backend) const in IsValidBackend() 172 OH_NN_ReturnCode ret = backend->GetBackendStatus(status); in IsValidBackend()
|
H A D | backend_manager.h | 51 bool IsValidBackend(std::shared_ptr<Backend> backend) const;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | BUILD.gn | 46 #backend 76 "backend/rs_surface_frame_ohos_raster.cpp", 77 "backend/rs_surface_ohos_raster.cpp", 85 "backend/native_buffer_utils.cpp", 86 "backend/rs_surface_frame_ohos_vulkan.cpp", 87 "backend/rs_surface_ohos_vulkan.cpp", 88 "backend/rs_vulkan_context.cpp", 93 "backend/rs_surface_frame_ohos_gl.cpp", 94 "backend/rs_surface_ohos_gl.cpp", 188 "backend/rs_surface_ohos_gl.cpp", [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | nntensor.cpp | 222 std::shared_ptr<Backend> backend = backendManager.GetBackend(m_backendID); in AllocateMemory() local 223 if (backend == nullptr) { in AllocateMemory() 228 auto* nnBackend = reinterpret_cast<NNBackend*>(backend.get()); in AllocateMemory() 276 std::shared_ptr<Backend> backend = backendManager.GetBackend(m_backendID); in ReleaseMemory() local 277 if (backend == nullptr) { in ReleaseMemory() 282 auto* nnrtBackend = reinterpret_cast<NNBackend*>(backend.get()); in ReleaseMemory()
|
H A D | register_hdi_device_v1_0.cpp | 66 …std::shared_ptr<Backend> backend = CreateSharedPtr<NNBackend>(device, std::hash<std::string>{}(bac… in HDIDeviceV1_0Creator() local 67 if (backend == nullptr) { in HDIDeviceV1_0Creator() 70 return backend; in HDIDeviceV1_0Creator()
|
H A D | register_hdi_device_v2_0.cpp | 83 …std::shared_ptr<Backend> backend = CreateSharedPtr<NNBackend>(device, std::hash<std::string>{}(bac… in HDIDeviceV2_0Creator() local 84 if (backend == nullptr) { in HDIDeviceV2_0Creator() 87 return backend; in HDIDeviceV2_0Creator()
|
H A D | nncompiled_cache.cpp | 141 std::shared_ptr<Backend> backend = backendManager.GetBackend(backendID); in SetBackend() local 142 if (backend == nullptr) { in SetBackend() 147 std::shared_ptr<NNBackend> nnBackend = std::reinterpret_pointer_cast<NNBackend>(backend); in SetBackend()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | drawing_sample_canvaskit0310.cpp | 63 void Init(uint32_t width, uint32_t height, HdiBackend* backend); 104 HdiBackend* backend = nullptr; member in HelloDrawing 307 backend->Repaint(output); in Draw() 430 void HelloDrawing::Init(uint32_t width, uint32_t height, HdiBackend* backend) in Init() argument 432 this->backend = backend; in Init() 627 HdiBackend* backend = OHOS::Rosen::HdiBackend::GetInstance(); in main() local 628 if (backend == nullptr) { in main() 633 backend->RegScreenHotplug(OnScreenPlug, &m); in main() 648 backend->RegPrepareComplete(OnPrepareCompleted, &m); in main() 656 handler->PostTask(std::bind(&HelloDrawing::Init, &m, m.width_, m.height_, backend)); in main()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/ |
H A D | json_exporter.cpp | 31 JsonOutput backend; in Export() local 32 auto json = backend.Process(tree); in Export()
|
H A D | json_importer.cpp | 45 JsonOutput backend; in ImportAsTree() local 46 auto json = backend.Process(tree); in ImportAsTree()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/ |
H A D | BUILD.gn | 188 "src/serialization/backend/debug_output.cpp", 189 "src/serialization/backend/debug_output.h", 190 "src/serialization/backend/json_input.cpp", 191 "src/serialization/backend/json_input.h", 192 "src/serialization/backend/json_output.cpp", 193 "src/serialization/backend/json_output.h",
|
/ohos5.0/foundation/graphic/graphic_3d/ |
H A D | README_en.md | 4 …asy-to-use development kit. The AGP engine supports the Opengl ES/Vulkan backend to reduce develop… 27 • Graphical backend: OpenGL ES, Vulkan backend supported. 38 │ └── LumeRender # Engine backend, render pipeline
|
/ohos5.0/docs/en/readme/ |
H A D | arkui.md | 11 … above, the two development paradigms share the UI backend engine and language runtime. The UI bac…
|
/ohos5.0/docs/en/application-dev/performance/ |
H A D | common-trace-using-instructions.md | 19 …backend engine prepares for rendering of the next frame. Then the application submits a rendering … 21 …backend engine sends it to Render Service of the graphics subsystem. Render Service performs graph… 31 (2) The UI backend engine draws the first frame. 33 (3) The UI backend engine sends a rendering command to Render Service and requests a frame. 39 Figure 2 shows typical traces used by the UI backend engine in the rendering process of a frame. 41 **Figure 2** Trace lanes for UI backend engine rendering 43  59 When receiving a Vsync signal, the UI backend engine processes the command sent by the application,… 61 The UI backend engine draws the render tree. Specifically, it preprocess every node, calculates the…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/backend/ |
H A D | BUILD.gn | 19 "graphic/rosen_engine/render_service_base/platform/ohos/backend" 33 …sources += [ "$graphic_2d_root/rosen/modules/render_service_base/src/platform/ohos/backend/rs_surf…
|
/ohos5.0/base/print/print_fwk/etc/init/ |
H A D | printservice.cfg | 13 … "mkdir /data/service/el1/public/print_service/cups/serverbin/backend 0550 print print", 18 "mkdir /data/service/el1/public/print_service/sane/backend 0755 print print",
|
/ohos5.0/base/update/packaging_tools/ |
H A D | build_pkcs7.py | 83 backend=default_backend()) 107 backend=default_backend())
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_tensor/ |
H A D | nn_tensor_test.cpp | 266 std::shared_ptr<Backend> backend = std::make_unique<NNBackend>(device, backendID); in Creator() local 267 return backend; in Creator() 369 std::shared_ptr<Backend> backend = std::make_unique<NNBackend>(nullptr, backendID); in Creator2() local 370 return backend; in Creator2() 433 std::shared_ptr<Backend> backend = std::make_unique<NNBackend>(device, backendID); in Creator3() local 435 return backend; in Creator3() 502 std::shared_ptr<Backend> backend = std::make_unique<NNBackend>(device, backendID); in Creator4() local 504 return backend; in Creator4()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiled_cache/ |
H A D | nn_compiled_cache_test.cpp | 141 std::shared_ptr<Backend> backend = std::make_unique<NNBackend>(device, backendID); in Creator() local 142 return backend; in Creator() 209 std::shared_ptr<Backend> backend = std::make_unique<NNBackend>(device, backendID); in Creator2() local 210 return backend; in Creator2()
|
/ohos5.0/docs/en/application-dev/graphics3d/ |
H A D | arkgraphics3D-overview.md | 20 The ArkGraphics 3D service consists of three key parts: graphics backend, engine layer, and interfa… 21 - Graphics backend: driver interfaces provided by GPU hardware, including OpenGL ES and Vulkan. The…
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/print/print_service/system/ |
H A D | file_contexts | 16 /data/service/el1/public/print_service/sane/backend u:object_r:data_service_scan_service_driv…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | drawing__gpu__context_8h.md | 38 …ons.md)) | Creates an **OH_Drawing_GpuContext** object that uses OpenGL as the backend interface.|
|