99 Star 173 Fork 2.6K

OpenHarmony/graphic_graphic_2d
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bundle.json 21.71 KB
一键复制 编辑 原始数据 按行查看 历史
Liufei 提交于 2025-09-09 16:22 +08:00 . refactor(text): migrate text napi to mlb framework
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
{
"name": "@ohos/graphic_2d",
"description": "graphic_2d",
"version": "3.1",
"license": "Apache License 2.0",
"publishAs": "code-segment",
"segment": {
"destPath": "foundation/graphic/graphic_2d"
},
"dirs": {},
"scripts": {},
"component": {
"name": "graphic_2d",
"subsystem": "graphic",
"syscap": [
"SystemCapability.Graphic.Graphic2D.ColorManager.Core",
"SystemCapability.Graphic.Graphic2D.EGL",
"SystemCapability.Graphic.Graphic2D.GLES2",
"SystemCapability.Graphic.Graphic2D.GLES3",
"SystemCapability.Graphic.Graphic2D.GL4 = false",
"SystemCapability.Graphic.Graphic2D.HyperGraphicManager",
"SystemCapability.Graphic.Graphic2D.NativeBuffer",
"SystemCapability.Graphic.Graphic2D.NativeDrawing",
"SystemCapability.Graphic.Graphic2D.NativeImage",
"SystemCapability.Graphic.Graphic2D.NativeVsync",
"SystemCapability.Graphic.Graphic2D.NativeWindow",
"SystemCapability.Graphic.Graphic2D.WebGL",
"SystemCapability.Graphic.Graphic2D.WebGL2",
"SystemCapability.Graphic.Vulkan",
"SystemCapability.Graphics.Drawing"
],
"adapted_system_type": [ "standard" ],
"features": [
"graphic_2d_feature_product",
"graphic_2d_feature_enable_pgo",
"graphic_2d_feature_enable_codemerge",
"graphic_2d_feature_pgo_path",
"graphic_2d_feature_bootanimation_enable",
"graphic_2d_feature_ace_enable_gpu",
"graphic_2d_feature_rs_enable_eglimage",
"graphic_2d_feature_color_gamut_enable",
"graphic_2d_feature_use_texgine",
"graphic_2d_feature_rs_enable_uni_render",
"graphic_2d_feature_wuji_enable",
"graphic_2d_feature_enable_afbc",
"graphic_2d_feature_freemem_enable",
"graphic_2d_feature_parallel_render_enable",
"graphic_2d_feature_tp_switch_enbale",
"graphic_2d_feature_rs_enable_profiler",
"graphic_2d_feature_enable_chipset_vsync",
"graphic_2d_feature_enable_opengl",
"graphic_2d_feature_enable_opinc",
"graphic_2d_feature_enable_rspipeline",
"graphic_2d_feature_enable_stack_culling",
"graphic_2d_feature_enable_vulkan",
"graphic_2d_feature_use_aps_igameservice_func",
"graphic_2d_feature_use_igraphics_extend_hooks",
"graphic_2d_feature_bootanimation_ext_enable",
"graphic_2d_feature_overlay_display_enable",
"graphic_2d_feature_enable_opengl_to_vulkan",
"graphic_2d_feature_screenless_enable",
"graphic_2d_feature_tv_metadata_enable",
"graphic_2d_feature_upgrade_skia",
"graphic_2d_feature_enable_rdo",
"graphic_2d_feature_enable_memory_info_manager"
],
"rom": "10000KB",
"ram": "10000KB",
"hisysevent_config": [
"//foundation/graphic/graphic_2d/hisysevent.yaml"
],
"deps": {
"components": [
"ability_base",
"common_event_service",
"window_manager",
"resource_management",
"napi",
"samgr",
"hdf_core",
"hilog",
"hisysevent",
"hitrace",
"ability_runtime",
"bundle_framework",
"drivers_interface_display",
"c_utils",
"access_token",
"safwk",
"eventhandler",
"config_policy",
"init",
"input",
"hicollie",
"image_framework",
"ipc",
"graphic_surface",
"graphics_effect",
"player_framework",
"resource_schedule_service",
"soc_perf",
"accessibility",
"frame_aware_sched",
"memmgr",
"sensor",
"qos_manager",
"video_processing_engine",
"bounds_checking_function",
"egl",
"opengles",
"vulkan-headers",
"vulkan-loader",
"cJSON",
"jsoncpp",
"openssl",
"zlib",
"libuv",
"icu",
"libpng",
"ffrt",
"libxml2",
"skia",
"lz4",
"faultloggerd",
"freetype",
"rust_cxx",
"media_foundation",
"selinux_adapter",
"runtime_core",
"graphic_2d_ext",
"hiview"
],
"third_party": [
"skia"
]
},
"build": {
"group_type": {
"base_group": [
"//foundation/graphic/graphic_2d/interfaces/kits/napi:napi_packages",
"//foundation/graphic/graphic_2d/interfaces/kits/cj:ffi_packages",
"//foundation/graphic/graphic_2d/interfaces/kits/ani:ani_packages",
"//foundation/graphic/graphic_2d/rosen/modules/effect/effect_common:effect_common",
"//foundation/graphic/graphic_2d/rosen/modules/composer:libcomposer",
"//foundation/graphic/graphic_2d/rosen/modules/composer/native_vsync:libnative_vsync",
"//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics_packages",
"//foundation/graphic/graphic_2d/rosen/modules/effect/color_picker:color_picker",
"//foundation/graphic/graphic_2d/rosen/modules/effect/skia_effectChain:skeffectchain",
"//foundation/graphic/graphic_2d/rosen/modules/effect/effect_ndk:native_effect_ndk",
"//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:EGL",
"//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLESv2",
"//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLESv3",
"//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLv4",
"//foundation/graphic/graphic_2d/rosen/modules/effect/egl:libegl_effect",
"//foundation/graphic/graphic_2d/frameworks/vulkan_layers:vulkan_swapchain_layer",
"//foundation/graphic/graphic_2d/frameworks/vulkan_layers:vulkan_swapchain_layer_json",
"//foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/native_display_soloist:libnative_display_soloist",
"//foundation/graphic/graphic_2d/utils/color_manager/ndk:libnative_color_space_manager",
"//foundation/graphic/graphic_2d/rosen/modules/2d_engine/ddgr:libddgr"
],
"fwk_group": [
"//foundation/graphic/graphic_2d/rosen/modules/render_service_base:librender_service_base",
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client"
],
"service_group": [
"//foundation/graphic/graphic_2d:default",
"//foundation/graphic/graphic_2d/rosen/modules/render_service:librender_service",
"//foundation/graphic/graphic_2d/rosen/modules/render_service:render_service",
"//foundation/graphic/graphic_2d/interfaces/kits/cj/ui_effect:cj_ui_effect_ffi",
"//foundation/graphic/graphic_2d/etc:ohos.para.dac",
"//foundation/graphic/graphic_2d/etc:ohos.para"
]
},
"inner_kits": [
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing:drawing_napi_impl",
"header": {
"header_files": [
"canvas_napi/js_canvas.h"
],
"header_base": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/frameworks/text/interface/mlb/napi:text_napi_impl",
"header": {
"header_files": [
"paragraph_napi/js_paragraph.h"
],
"header_base": "//foundation/graphic/graphic_2d/frameworks/text/interface/mlb/napi"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/frameworks/bootanimation/utils:libbootanimation_utils",
"header": {
"header_files": [
"boot_animation_utils.h"
],
"header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/bootanimation"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/composer:libcomposer",
"header": {
"header_files": [
"vsync_receiver.h"
],
"header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/composer"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/glfw_render_context:libglfw_render_context",
"header": {
"header_files": [
"glfw_render_context.h"
],
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/glfw_render_context/export"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/frameworks/surfaceimage:libnative_image",
"header": {
"header_files": [
"native_image.h"
],
"header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/surface"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:EGL",
"header": {
"header_files": [
],
"header_base": [
]
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLESv3",
"header": {
"header_files": [
],
"header_base": [
]
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLv4",
"header": {
"header_files": [
],
"header_base": [
]
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/frame_analyzer:libframe_analyzer",
"header": {
"header_files": [
],
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/frame_analyzer/export"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/utils:libgraphic_utils",
"header": {
"header_files": [
"graphic_common.h",
"graphic_common_c.h"
],
"header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/common"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation:window_animation",
"header": {
"header_files": [
"rs_iwindow_animation_controller.h",
"rs_iwindow_animation_finished_callback.h",
"rs_window_animation_finished_callback_stub.h",
"rs_window_animation_finished_callback.h",
"rs_window_animation_stub.h",
"rs_window_animation_target.h"
],
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/include"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/render_service_base:librender_service_base",
"header": {
"header_files": [
"animation/rs_animation_timing_protocol.h",
"common/rs_common_def.h",
"common/rs_macros.h",
"common/rs_rect.h",
"common/rs_vector3.h",
"common/rs_vector4.h",
"render/rs_image.h",
"render/rs_light_up_effect_filter.h",
"render/rs_pixel_map_util.h",
"render/rs_shader.h",
"render/rs_filter.h",
"render/rs_image_cache.h",
"render/rs_shadow.h",
"render/rs_typeface_cache.h",
"render/rs_mask.h",
"render/rs_path.h",
"render/rs_border.h",
"render/rs_image_base.h",
"screen_manager/screen_types.h",
"modifier/rs_animatable_arithmetic.h"
],
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/include"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
"header": {
"header_files": [
"animation/rs_animation.h",
"animation/rs_transition.h",
"animation/rs_animation_timing_curve.h",
"animation/rs_motion_path_option.h",
"ui/rs_node.h",
"ui/rs_proxy_node.h",
"ui/rs_base_node.h",
"ui/rs_ui_director.h",
"ui/rs_surface_extractor.h",
"ui/rs_surface_node.h",
"ui/rs_canvas_node.h",
"ui/rs_display_node.h",
"ui/rs_root_node.h",
"modifier/rs_modifier_manager_map.h",
"modifier/rs_modifier_extractor.h",
"modifier/rs_modifier_manager.h",
"modifier/rs_property.h",
"modifier/rs_showing_properties_freezer.h",
"transaction/rs_interfaces.h"
],
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/render_service_client/core"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
"header": {
"header_files": [
"draw/canvas.h",
"draw/pen.h",
"image/bitmap.h"
],
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk:native_drawing_ndk",
"header": {
"header_files": [
],
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/effect/effect_ndk:native_effect_ndk",
"header": {
"header_files": [
],
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/effect/effect_ndk/include"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/effect/color_picker:color_picker",
"header": {
"header_files": [
"color_picker.h",
"effect_errors.h"
],
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/include"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/utils/color_manager:color_manager",
"header": {
"header_files": [
"export/color.h",
"export/color_space.h",
"export/color_space_convertor.h"
],
"header_base": "//foundation/graphic/graphic_2d/utils/color_manager"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager:color_space_object_convertor",
"header": {
"header_files": [
"color_space_object_convertor.h",
"js_color_space.h",
"js_color_space_utils.h",
"ndk_color_space.h"
],
"header_base": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager/color_space_object_convertor"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/utils/color_manager/ndk:libnative_color_space_manager",
"header": {
"header_files": [
"native_color_space_manager.h"
],
"header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/color_manager"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/hdr_capability:hdr_capability_utils",
"header": {
"header_files": [
"js_hdr_format_utils.h"
],
"header_base": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/hdr_capability/hdr_capability_utils"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/interfaces/kits/cj/ui_effect:cj_ui_effect_ffi",
"header": {
"header_files": [],
"header_base": "//foundation/graphic/graphic_2d/interfaces/kits/cj/ui_effect/include"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/interfaces/kits/cj/color_manager:cj_color_manager_ffi",
"header": {
"header_files": [
"cj_color_manager.h",
"cj_color_mgr_utils.h",
"color_mgr_ffi.h"
],
"header_base": "//foundation/graphic/graphic_2d/interfaces/kits/cj/color_manager"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/interfaces/kits/cj/drawing:cj_drawing_impl",
"header": {
"header_files": [
],
"header_base": "//foundation/graphic/graphic_2d/interfaces/kits/cj/drawing"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/interfaces/kits/cj/drawing:cj_drawing_ffi",
"header": {
"header_files": [
],
"header_base": "//foundation/graphic/graphic_2d/interfaces/kits/cj/drawing"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/interfaces/kits/cj/effect_kit:cj_effect_kit_ffi",
"header": {
"header_files": [],
"header_base": "//foundation/graphic/graphic_2d/interfaces/kits/cj/effect_kit"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/2d_engine/ddgr:libddgr",
"header": {
"header_files": [],
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/2d_engine/ddgr"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/frameworks/text:rosen_text",
"header": {
"header_files": [],
"header_base": "//foundation/graphic/graphic_2d/frameworks/text/interface/export"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/rosen/modules/composer/vsync:libvsync",
"header": {
"header_files": [
"ivsync_connection.h",
"vsync_connection_proxy.h",
"vsync_connection_stub.h",
"vsync_controller.h",
"vsync_distributor.h",
"vsync_generator.h",
"vsync_log.h",
"vsync_sampler.h",
"vsync_system_ability_listener.h"
],
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/composer/vsync/include"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/interfaces/kits/ani/color_manager:ani_color_space_object_convertor",
"header": {
"header_files": [ "ani_color_space_object_convertor.h" ],
"header_base": "//foundation/graphic/graphic_2d/interfaces/kits/ani/color_manager/src/color_space_object_convertor"
}
},
{
"type": "so",
"name": "//foundation/graphic/graphic_2d/interfaces/kits/ani/drawing:drawing_ani",
"header": {
"header_files": [ "canvas_ani/ani_canvas.h" ],
"header_base": "//foundation/graphic/graphic_2d/interfaces/kits/ani/drawing"
}
}
],
"test": [
"//foundation/graphic/graphic_2d:graphic_common_test",
"//foundation/graphic/graphic_2d/frameworks/surfaceimage/test:test",
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:test",
"//foundation/graphic/graphic_2d/rosen/modules/ressched/test/unittest:unittest",
"//foundation/graphic/graphic_2d/rosen/test/2d_graphics:test",
"//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/test:test",
"//foundation/graphic/graphic_2d/rosen/modules/render_service_base/test:test",
"//foundation/graphic/graphic_2d/rosen/modules/safuzz:safuzztest",
"//foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing:drawing_demo",
"//foundation/graphic/graphic_2d/rosen/test/dtk:dtk",
"//foundation/graphic/graphic_2d/frameworks/text/test:text_test",
"//foundation/graphic/graphic_2d/rosen/test/frame_load:test"
]
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony/graphic_graphic_2d.git
git@gitee.com:openharmony/graphic_graphic_2d.git
openharmony
graphic_graphic_2d
graphic_graphic_2d
master

搜索帮助