mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-24 07:30:38 +00:00
d40f0f2eba
Signed-off-by: HengBai <baiheng5@huawei.com>
450 lines
17 KiB
JSON
450 lines
17 KiB
JSON
{
|
|
"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.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_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_vkqueue_priority_enable"
|
|
],
|
|
"rom": "10000KB",
|
|
"ram": "10000KB",
|
|
"hisysevent_config": [
|
|
"//foundation/graphic/graphic_2d/hisysevent.yaml"
|
|
],
|
|
"deps": {
|
|
"components": [
|
|
"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",
|
|
"player_framework",
|
|
"resource_schedule_service",
|
|
"soc_perf",
|
|
"accessibility",
|
|
"frame_aware_sched",
|
|
"memmgr",
|
|
"sensor",
|
|
"qos_manager",
|
|
"video_processing_engine",
|
|
"bounds_checking_function",
|
|
"egl",
|
|
"opengles",
|
|
"node",
|
|
"vulkan-headers",
|
|
"vulkan-loader",
|
|
"cJSON",
|
|
"jsoncpp",
|
|
"openssl",
|
|
"zlib",
|
|
"libuv",
|
|
"icu",
|
|
"libpng",
|
|
"ffrt",
|
|
"libxml2",
|
|
"skia"
|
|
],
|
|
"third_party": [
|
|
"flutter",
|
|
"skia"
|
|
]
|
|
},
|
|
"build": {
|
|
"group_type": {
|
|
"base_group": [
|
|
"//third_party/libpng:libpng",
|
|
"//foundation/graphic/graphic_2d/interfaces/kits/napi:napi_packages",
|
|
"//foundation/graphic/graphic_2d/interfaces/kits/cj:ffi_packages",
|
|
"//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/effectChain:libeffectchain",
|
|
"//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/rosen/modules/2d_engine/rosen_text:rosen_text",
|
|
"//foundation/graphic/graphic_2d/rosen/modules/effect/egl:libegl_effect",
|
|
"//foundation/graphic/graphic_2d/rosen/modules/texgine:libtexgine",
|
|
"//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/graphics_effect:libgraphics_effect",
|
|
"//foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/native_display_soloist:libnative_display_soloist"
|
|
],
|
|
"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/etc:ohos.para.dac"
|
|
]
|
|
},
|
|
"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/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/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/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_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",
|
|
"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_share_context.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.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",
|
|
"modifier/rs_extended_modifier.h",
|
|
"modifier/rs_property_modifier.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/2d_graphics:2d_graphics_new",
|
|
"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/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/rosen/modules/texgine:libtexgine",
|
|
"header": {
|
|
"header_files": [
|
|
"any_span.h",
|
|
"dynamic_file_font_provider.h",
|
|
"dynamic_font_provider.h",
|
|
"font_providers.h",
|
|
"ifont_provider.h",
|
|
"system_font_provider.h",
|
|
"text_style.h",
|
|
"theme_font_provider.h",
|
|
"typography_builder.h",
|
|
"typography_style.h",
|
|
"typography_types.h",
|
|
"typography.h"
|
|
],
|
|
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine"
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
],
|
|
"header_base": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager/color_space_object_convertor"
|
|
}
|
|
},
|
|
{
|
|
"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/rosen/modules/2d_engine/rosen_text:rosen_text",
|
|
"header": {
|
|
"header_files": [
|
|
"font_collection.h",
|
|
"typography_create.h",
|
|
"typography_style.h",
|
|
"text_style.h",
|
|
"typography.h",
|
|
"typography_types.h"
|
|
],
|
|
"header_base": "//foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text"
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
],
|
|
"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/test/2d_engine:test",
|
|
"//foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing:drawing_demo"
|
|
]
|
|
}
|
|
}
|
|
}
|