1{ 2 "name": "@ohos/graphic_2d", 3 "description": "graphic_2d", 4 "version": "3.1", 5 "license": "Apache License 2.0", 6 "publishAs": "code-segment", 7 "segment": { 8 "destPath": "foundation/graphic/graphic_2d" 9 }, 10 "dirs": {}, 11 "scripts": {}, 12 "component": { 13 "name": "graphic_2d", 14 "subsystem": "graphic", 15 "syscap": [ 16 "SystemCapability.Graphic.Graphic2D.ColorManager.Core", 17 "SystemCapability.Graphic.Graphic2D.EGL", 18 "SystemCapability.Graphic.Graphic2D.GLES2", 19 "SystemCapability.Graphic.Graphic2D.GLES3", 20 "SystemCapability.Graphic.Graphic2D.HyperGraphicManager", 21 "SystemCapability.Graphic.Graphic2D.NativeBuffer", 22 "SystemCapability.Graphic.Graphic2D.NativeDrawing", 23 "SystemCapability.Graphic.Graphic2D.NativeImage", 24 "SystemCapability.Graphic.Graphic2D.NativeVsync", 25 "SystemCapability.Graphic.Graphic2D.NativeWindow", 26 "SystemCapability.Graphic.Graphic2D.WebGL", 27 "SystemCapability.Graphic.Graphic2D.WebGL2", 28 "SystemCapability.Graphic.Vulkan", 29 "SystemCapability.Graphics.Drawing" 30 ], 31 "adapted_system_type": [ "standard" ], 32 "features": [ 33 "graphic_2d_feature_product", 34 "graphic_2d_feature_enable_pgo", 35 "graphic_2d_feature_pgo_path", 36 "graphic_2d_feature_bootanimation_enable", 37 "graphic_2d_feature_ace_enable_gpu", 38 "graphic_2d_feature_rs_enable_eglimage", 39 "graphic_2d_feature_color_gamut_enable", 40 "graphic_2d_feature_use_texgine", 41 "graphic_2d_feature_rs_enable_uni_render", 42 "graphic_2d_feature_wuji_enable", 43 "graphic_2d_feature_enable_afbc", 44 "graphic_2d_feature_freemem_enable", 45 "graphic_2d_feature_parallel_render_enable", 46 "graphic_2d_feature_tp_switch_enbale", 47 "graphic_2d_feature_rs_enable_profiler" 48 ], 49 "rom": "10000KB", 50 "ram": "10000KB", 51 "hisysevent_config": [ 52 "//foundation/graphic/graphic_2d/hisysevent.yaml" 53 ], 54 "deps": { 55 "components": [ 56 "window_manager", 57 "resource_management", 58 "napi", 59 "samgr", 60 "hdf_core", 61 "hilog", 62 "hisysevent", 63 "hitrace", 64 "ability_runtime", 65 "bundle_framework", 66 "drivers_interface_display", 67 "c_utils", 68 "access_token", 69 "safwk", 70 "eventhandler", 71 "config_policy", 72 "init", 73 "input", 74 "hicollie", 75 "image_framework", 76 "ipc", 77 "graphic_surface", 78 "player_framework", 79 "resource_schedule_service", 80 "soc_perf", 81 "accessibility", 82 "frame_aware_sched", 83 "memmgr", 84 "sensor", 85 "qos_manager", 86 "video_processing_engine", 87 "bounds_checking_function", 88 "egl", 89 "opengles", 90 "node", 91 "vulkan-headers", 92 "vulkan-loader", 93 "cJSON", 94 "jsoncpp", 95 "openssl", 96 "zlib", 97 "libuv", 98 "icu", 99 "libpng", 100 "libxml2", 101 "ffrt", 102 "skia" 103 ], 104 "third_party": [ 105 "flutter" 106 ] 107 }, 108 "build": { 109 "group_type": { 110 "base_group": [ 111 "//third_party/libpng:libpng", 112 "//foundation/graphic/graphic_2d/interfaces/kits/napi:napi_packages", 113 "//foundation/graphic/graphic_2d/interfaces/kits/cj:ffi_packages", 114 "//foundation/graphic/graphic_2d/rosen/modules/composer:libcomposer", 115 "//foundation/graphic/graphic_2d/rosen/modules/composer/native_vsync:libnative_vsync", 116 "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics_packages", 117 "//foundation/graphic/graphic_2d/rosen/modules/effect/effectChain:libeffectchain", 118 "//foundation/graphic/graphic_2d/rosen/modules/effect/color_picker:color_picker", 119 "//foundation/graphic/graphic_2d/rosen/modules/effect/skia_effectChain:skeffectchain", 120 "//foundation/graphic/graphic_2d/rosen/modules/effect/effect_ndk:native_effect_ndk", 121 "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:EGL", 122 "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLESv2", 123 "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLESv3", 124 "//foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text:rosen_text", 125 "//foundation/graphic/graphic_2d/rosen/modules/effect/egl:libegl_effect", 126 "//foundation/graphic/graphic_2d/rosen/modules/texgine:libtexgine", 127 "//foundation/graphic/graphic_2d/frameworks/vulkan_layers:vulkan_swapchain_layer", 128 "//foundation/graphic/graphic_2d/frameworks/vulkan_layers:vulkan_swapchain_layer_json", 129 "//foundation/graphic/graphic_2d/rosen/modules/graphics_effect:libgraphics_effect", 130 "//foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/native_display_soloist:libnative_display_soloist", 131 "//foundation/graphic/graphic_2d/utils/color_manager/ndk:libnative_color_space_manager" 132 ], 133 "fwk_group": [ 134 "//foundation/graphic/graphic_2d/rosen/modules/render_service_base:librender_service_base", 135 "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client" 136 ], 137 "service_group": [ 138 "//foundation/graphic/graphic_2d:default", 139 "//foundation/graphic/graphic_2d/rosen/modules/render_service:librender_service", 140 "//foundation/graphic/graphic_2d/rosen/modules/render_service:render_service", 141 "//foundation/graphic/graphic_2d/etc:ohos.para.dac" 142 ] 143 }, 144 "inner_kits": [ 145 { 146 "type": "so", 147 "name": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing:drawing_napi_impl", 148 "header": { 149 "header_files": [ 150 "canvas_napi/js_canvas.h" 151 ], 152 "header_base": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing" 153 } 154 }, 155 { 156 "type": "so", 157 "name": "//foundation/graphic/graphic_2d/frameworks/bootanimation/utils:libbootanimation_utils", 158 "header": { 159 "header_files": [ 160 "boot_animation_utils.h" 161 ], 162 "header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/bootanimation" 163 } 164 }, 165 { 166 "type": "so", 167 "name": "//foundation/graphic/graphic_2d/rosen/modules/composer:libcomposer", 168 "header": { 169 "header_files": [ 170 "vsync_receiver.h" 171 ], 172 "header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/composer" 173 } 174 }, 175 { 176 "type": "so", 177 "name": "//foundation/graphic/graphic_2d/frameworks/surfaceimage:libnative_image", 178 "header": { 179 "header_files": [ 180 "native_image.h" 181 ], 182 "header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/surface" 183 } 184 }, 185 { 186 "type": "so", 187 "name": "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:EGL", 188 "header": { 189 "header_files": [ 190 ], 191 "header_base": [ 192 ] 193 } 194 }, 195 { 196 "type": "so", 197 "name": "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLESv3", 198 "header": { 199 "header_files": [ 200 ], 201 "header_base": [ 202 ] 203 } 204 }, 205 { 206 "type": "so", 207 "name": "//foundation/graphic/graphic_2d/rosen/modules/frame_analyzer:libframe_analyzer", 208 "header": { 209 "header_files": [ 210 ], 211 "header_base": "//foundation/graphic/graphic_2d/rosen/modules/frame_analyzer/export" 212 } 213 }, 214 { 215 "type": "so", 216 "name": "//foundation/graphic/graphic_2d/utils:libgraphic_utils", 217 "header": { 218 "header_files": [ 219 "graphic_common.h", 220 "graphic_common_c.h" 221 ], 222 "header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/common" 223 } 224 }, 225 { 226 "type": "so", 227 "name": "//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation:window_animation", 228 "header": { 229 "header_files": [ 230 "rs_iwindow_animation_controller.h", 231 "rs_iwindow_animation_finished_callback.h", 232 "rs_window_animation_finished_callback_stub.h", 233 "rs_window_animation_finished_callback.h", 234 "rs_window_animation_stub.h", 235 "rs_window_animation_target.h" 236 ], 237 "header_base": "//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/include" 238 } 239 }, 240 { 241 "type": "so", 242 "name": "//foundation/graphic/graphic_2d/rosen/modules/render_service_base:librender_service_base", 243 "header": { 244 "header_files": [ 245 "animation/rs_animation_timing_protocol.h", 246 "common/rs_macros.h", 247 "common/rs_rect.h", 248 "common/rs_vector3.h", 249 "common/rs_vector4.h", 250 "render/rs_image.h", 251 "render/rs_light_up_effect_filter.h", 252 "render/rs_pixel_map_util.h", 253 "render/rs_shader.h", 254 "render/rs_filter.h", 255 "render/rs_image_cache.h", 256 "render/rs_shadow.h", 257 "render/rs_typeface_cache.h", 258 "render/rs_mask.h", 259 "render/rs_path.h", 260 "render/rs_border.h", 261 "render/rs_image_base.h", 262 "modifier/rs_animatable_arithmetic.h" 263 ], 264 "header_base": "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/include" 265 } 266 }, 267 { 268 "type": "so", 269 "name": "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client", 270 "header": { 271 "header_files": [ 272 "animation/rs_animation.h", 273 "animation/rs_transition.h", 274 "animation/rs_animation_timing_curve.h", 275 "animation/rs_motion_path_option.h", 276 "ui/rs_node.h", 277 "ui/rs_proxy_node.h", 278 "ui/rs_base_node.h", 279 "ui/rs_ui_share_context.h", 280 "ui/rs_ui_director.h", 281 "ui/rs_surface_extractor.h", 282 "ui/rs_surface_node.h", 283 "ui/rs_canvas_node.h", 284 "ui/rs_display_node.h", 285 "ui/rs_root_node.h", 286 "modifier/rs_modifier.h", 287 "modifier/rs_modifier_manager_map.h", 288 "modifier/rs_modifier_extractor.h", 289 "modifier/rs_modifier_manager.h", 290 "modifier/rs_property.h", 291 "modifier/rs_showing_properties_freezer.h", 292 "modifier/rs_extended_modifier.h", 293 "modifier/rs_property_modifier.h", 294 "transaction/rs_interfaces.h" 295 ], 296 "header_base": "//foundation/graphic/graphic_2d/rosen/modules/render_service_client/core" 297 } 298 }, 299 { 300 "type": "so", 301 "name": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics", 302 "header": { 303 "header_files": [ 304 "draw/canvas.h", 305 "draw/pen.h", 306 "image/bitmap.h" 307 ], 308 "header_base": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include" 309 } 310 }, 311 { 312 "type": "so", 313 "name": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk:native_drawing_ndk", 314 "header": { 315 "header_files": [ 316 ], 317 "header_base": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include" 318 } 319 }, 320 { 321 "type": "so", 322 "name": "//foundation/graphic/graphic_2d/rosen/modules/effect/effect_ndk:native_effect_ndk", 323 "header": { 324 "header_files": [ 325 ], 326 "header_base": "//foundation/graphic/graphic_2d/rosen/modules/effect/effect_ndk/include" 327 } 328 }, 329 { 330 "type": "so", 331 "name": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics_new", 332 "header": { 333 "header_files": [ 334 "draw/canvas.h", 335 "draw/pen.h", 336 "image/bitmap.h" 337 ], 338 "header_base": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include" 339 } 340 }, 341 { 342 "type": "so", 343 "name": "//foundation/graphic/graphic_2d/rosen/modules/effect/color_picker:color_picker", 344 "header": { 345 "header_files": [ 346 "color_picker.h", 347 "effect_errors.h" 348 ], 349 "header_base": "//foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/include" 350 } 351 }, 352 { 353 "type": "so", 354 "name": "//foundation/graphic/graphic_2d/utils/color_manager:color_manager", 355 "header": { 356 "header_files": [ 357 "export/color.h", 358 "export/color_space.h", 359 "export/color_space_convertor.h" 360 ], 361 "header_base": "//foundation/graphic/graphic_2d/utils/color_manager" 362 } 363 }, 364 { 365 "type": "so", 366 "name": "//foundation/graphic/graphic_2d/rosen/modules/texgine:libtexgine", 367 "header": { 368 "header_files": [ 369 "any_span.h", 370 "dynamic_file_font_provider.h", 371 "dynamic_font_provider.h", 372 "font_providers.h", 373 "ifont_provider.h", 374 "system_font_provider.h", 375 "text_style.h", 376 "theme_font_provider.h", 377 "typography_builder.h", 378 "typography_style.h", 379 "typography_types.h", 380 "typography.h" 381 ], 382 "header_base": "//foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine" 383 } 384 }, 385 { 386 "type": "so", 387 "name": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager:color_space_object_convertor", 388 "header": { 389 "header_files": [ 390 "color_space_object_convertor.h", 391 "js_color_space.h", 392 "js_color_space_utils.h", 393 "ndk_color_space.h" 394 ], 395 "header_base": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager/color_space_object_convertor" 396 } 397 }, 398 { 399 "type": "so", 400 "name": "//foundation/graphic/graphic_2d/utils/color_manager/ndk:libnative_color_space_manager", 401 "header": { 402 "header_files": [ 403 "native_color_space_manager.h" 404 ], 405 "header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/color_manager" 406 } 407 }, 408 { 409 "type": "so", 410 "name": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/hdr_capability:hdr_capability_utils", 411 "header": { 412 "header_files": [ 413 "js_hdr_format_utils.h" 414 ], 415 "header_base": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/hdr_capability/hdr_capability_utils" 416 } 417 }, 418 { 419 "type": "so", 420 "name": "//foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text:rosen_text", 421 "header": { 422 "header_files": [ 423 "font_collection.h", 424 "typography_create.h", 425 "typography_style.h", 426 "text_style.h", 427 "typography.h", 428 "typography_types.h" 429 ], 430 "header_base": "//foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text" 431 } 432 }, 433 { 434 "type": "so", 435 "name": "//foundation/graphic/graphic_2d/interfaces/kits/cj/color_manager:cj_color_manager_ffi", 436 "header": { 437 "header_files": [ 438 "cj_color_manager.h", 439 "cj_color_mgr_utils.h", 440 "color_mgr_ffi.h" 441 ], 442 "header_base": "//foundation/graphic/graphic_2d/interfaces/kits/cj/color_manager" 443 } 444 } 445 ], 446 "test": [ 447 "//foundation/graphic/graphic_2d:graphic_common_test", 448 "//foundation/graphic/graphic_2d/frameworks/surfaceimage/test/unittest:unittest", 449 "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:test", 450 "//foundation/graphic/graphic_2d/rosen/modules/ressched/test/unittest:unittest", 451 "//foundation/graphic/graphic_2d/rosen/test/2d_graphics:test", 452 "//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/test:test", 453 "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/test:test", 454 "//foundation/graphic/graphic_2d/rosen/test/2d_engine:test", 455 "//foundation/graphic/graphic_2d/rosen/modules/graphics_effect/test:test", 456 "//foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing:drawing_demo" 457 ] 458 } 459 } 460 } 461