• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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      ],
48      "rom": "10000KB",
49      "ram": "10000KB",
50      "hisysevent_config": [
51        "//foundation/graphic/graphic_2d/hisysevent.yaml"
52      ],
53      "deps": {
54        "components": [
55          "window_manager",
56          "resource_management",
57          "napi",
58          "samgr",
59          "hilog",
60          "hisysevent",
61          "hitrace",
62          "ability_runtime",
63          "drivers_interface_display",
64          "c_utils",
65          "access_token",
66          "safwk",
67          "eventhandler",
68          "config_policy",
69          "init",
70          "hicollie",
71          "image_framework",
72          "ipc",
73          "player_framework",
74          "resource_schedule_service",
75          "soc_perf",
76          "accessibility",
77          "frame_aware_sched",
78          "memmgr",
79          "memmgr_plugin",
80          "sensor",
81          "qos_manager",
82          "video_processing_engine",
83          "vulkan-headers",
84          "input"
85        ],
86        "third_party": [
87          "flutter",
88          "libuv",
89          "openssl",
90          "libxml2",
91          "bounds_checking_function",
92          "icu",
93          "libpng",
94          "zlib",
95          "skia",
96          "cJSON",
97          "jsoncpp",
98          "egl",
99          "opengles",
100          "vulkan-headers",
101          "vulkan-loader"
102        ]
103      },
104      "build": {
105        "group_type": {
106          "base_group": [
107            "//third_party/libpng:libpng",
108            "//third_party/vulkan-loader:vulkan_loader",
109            "//foundation/graphic/graphic_2d/interfaces/kits/napi:napi_packages",
110            "//foundation/graphic/graphic_2d/rosen/modules/composer:libcomposer",
111            "//foundation/graphic/graphic_2d/rosen/modules/composer/native_vsync:libnative_vsync",
112            "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
113            "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics_new",
114            "//foundation/graphic/graphic_2d/rosen/modules/effect/effectChain:libeffectchain",
115            "//foundation/graphic/graphic_2d/rosen/modules/effect/color_picker:color_picker",
116            "//foundation/graphic/graphic_2d/rosen/modules/effect/skia_effectChain:skeffectchain",
117            "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:EGL",
118            "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLESv2",
119            "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLESv3",
120            "//foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text:rosen_text",
121            "//foundation/graphic/graphic_2d/rosen/modules/effect/egl:libegl_effect",
122            "//foundation/graphic/graphic_2d/rosen/modules/texgine:libtexgine",
123            "//foundation/graphic/graphic_2d/frameworks/vulkan_layers:vulkan_swapchain_layer",
124            "//foundation/graphic/graphic_2d/frameworks/vulkan_layers:vulkan_swapchain_layer_json"
125          ],
126          "fwk_group": [
127            "//foundation/graphic/graphic_2d/rosen/modules/render_service_base:librender_service_base",
128            "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client"
129          ],
130          "service_group": [
131            "//foundation/graphic/graphic_2d:default",
132            "//foundation/graphic/graphic_2d/rosen/modules/render_service:librender_service",
133            "//foundation/graphic/graphic_2d/rosen/modules/render_service:render_service",
134            "//foundation/graphic/graphic_2d/etc:ohos.para.dac"
135          ]
136      },
137        "inner_kits": [
138          {
139            "type": "so",
140            "name": "//foundation/graphic/graphic_2d/frameworks/surface:surface",
141            "header": {
142              "header_files": [
143                "buffer_extra_data.h",
144                "egl_data.h",
145                "egl_surface.h",
146                "external_window.h",
147                "native_buffer.h",
148                "native_buffer_inner.h",
149                "ibuffer_consumer_listener.h",
150                "ibuffer_producer.h",
151                "iconsumer_surface.h",
152                "surface.h",
153                "surface_buffer.h",
154                "surface_type.h",
155                "surface_utils.h",
156                "window.h"
157              ],
158              "header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/surface"
159            }
160          },
161          {
162            "type": "so",
163            "name": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing:drawing_napi_impl",
164            "header": {
165              "header_files": [
166                "canvas_napi/js_canvas.h"
167              ],
168              "header_base": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing"
169            }
170          },
171          {
172            "type": "so",
173            "name": "//foundation/graphic/graphic_2d/frameworks/bootanimation/utils:libbootanimation_utils",
174            "header": {
175              "header_files": [
176                "boot_animation_utils.h"
177              ],
178              "header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/bootanimation"
179            }
180          },
181          {
182            "type": "so",
183            "name": "//foundation/graphic/graphic_2d/rosen/modules/composer:libcomposer",
184            "header": {
185              "header_files": [
186                "vsync_receiver.h"
187              ],
188              "header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/composer"
189            }
190          },
191          {
192            "type": "so",
193            "name": "//foundation/graphic/graphic_2d/frameworks/surfaceimage:libnative_image",
194            "header": {
195              "header_files": [
196                "native_image.h"
197              ],
198              "header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/surface"
199            }
200          },
201          {
202            "type": "so",
203            "name": "//foundation/graphic/graphic_2d:libgl",
204            "header": {
205              "header_files": [
206              ],
207              "header_base": [
208                  "//third_party/openGLES:libGLES",
209                  "//third_party/EGL:libEGL"
210              ]
211            }
212          },
213          {
214            "type": "so",
215            "name": "//foundation/graphic/graphic_2d/utils:libgraphic_utils",
216            "header": {
217              "header_files": [
218                "graphic_common.h",
219                "graphic_common_c.h"
220              ],
221              "header_base": "//foundation/graphic/graphic_2d/interfaces/inner_api/common"
222            }
223          },
224          {
225            "type": "so",
226            "name": "//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation:window_animation",
227            "header": {
228              "header_files": [
229                "rs_iwindow_animation_controller.h",
230                "rs_iwindow_animation_finished_callback.h",
231                "rs_window_animation_finished_callback_stub.h",
232                "rs_window_animation_finished_callback.h",
233                "rs_window_animation_stub.h",
234                "rs_window_animation_target.h"
235              ],
236              "header_base": "//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/include"
237            }
238          },
239          {
240            "type": "so",
241            "name": "//foundation/graphic/graphic_2d/utils/sync_fence:sync_fence",
242            "header": {
243              "header_files": [
244                "sync_fence.h"
245              ],
246              "header_base": "//foundation/graphic/graphic_2d/utils/sync_fence/export"
247            }
248          },
249          {
250            "type": "so",
251            "name": "//foundation/graphic/graphic_2d/rosen/modules/render_service_base:librender_service_base",
252            "header": {
253              "header_files": [
254                "animation/rs_animation_timing_protocol.h",
255                "common/rs_macros.h",
256                "common/rs_rect.h",
257                "common/rs_vector3.h",
258                "common/rs_vector4.h",
259                "render/rs_image.h",
260                "render/rs_light_up_effect_filter.h",
261                "render/rs_pixel_map_util.h",
262                "render/rs_shader.h",
263                "render/rs_filter.h",
264                "render/rs_image_cache.h",
265                "render/rs_shadow.h",
266                "render/rs_mask.h",
267                "render/rs_path.h",
268                "render/rs_border.h",
269                "render/rs_image_base.h",
270                "modifier/rs_animatable_arithmetic.h"
271              ],
272              "header_base": "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/include"
273            }
274          },
275          {
276            "type": "so",
277            "name": "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
278            "header": {
279              "header_files": [
280                "animation/rs_animation.h",
281                "animation/rs_transition.h",
282                "animation/rs_animation_timing_curve.h",
283                "animation/rs_motion_path_option.h",
284                "ui/rs_node.h",
285                "ui/rs_proxy_node.h",
286                "ui/rs_base_node.h",
287                "ui/rs_ui_share_context.h",
288                "ui/rs_ui_director.h",
289                "ui/rs_surface_extractor.h",
290                "ui/rs_surface_node.h",
291                "ui/rs_canvas_node.h",
292                "ui/rs_display_node.h",
293                "ui/rs_root_node.h",
294                "modifier/rs_modifier.h",
295                "modifier/rs_modifier_manager_map.h",
296                "modifier/rs_modifier_extractor.h",
297                "modifier/rs_modifier_manager.h",
298                "modifier/rs_property.h",
299                "modifier/rs_showing_properties_freezer.h",
300                "modifier/rs_extended_modifier.h",
301                "modifier/rs_property_modifier.h",
302                "transaction/rs_interfaces.h"
303              ],
304              "header_base": "//foundation/graphic/graphic_2d/rosen/modules/render_service_client/core"
305            }
306          },
307          {
308            "type": "so",
309            "name": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
310            "header": {
311              "header_files": [
312                "draw/canvas.h",
313                "draw/pen.h",
314                "image/bitmap.h"
315              ],
316              "header_base": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include"
317            }
318          },
319          {
320            "type": "so",
321            "name": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics_new",
322            "header": {
323              "header_files": [
324                "draw/canvas.h",
325                "draw/pen.h",
326                "image/bitmap.h"
327              ],
328              "header_base": "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include"
329            }
330          },
331          {
332            "type": "so",
333            "name": "//foundation/graphic/graphic_2d/rosen/modules/effect/color_picker:color_picker",
334            "header": {
335              "header_files": [
336                "color_picker.h",
337                "effect_errors.h"
338              ],
339              "header_base": "//foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/include"
340            }
341          },
342          {
343            "type": "so",
344            "name": "//foundation/graphic/graphic_2d/utils/color_manager:color_manager",
345            "header": {
346              "header_files": [
347                "export/color.h",
348                "export/color_space.h",
349                "export/color_space_convertor.h"
350              ],
351              "header_base": "//foundation/graphic/graphic_2d/utils/color_manager"
352            }
353          },
354          {
355            "type": "so",
356            "name": "//foundation/graphic/graphic_2d/rosen/modules/texgine:libtexgine",
357            "header": {
358              "header_files": [
359                "any_span.h",
360                "dynamic_file_font_provider.h",
361                "dynamic_font_provider.h",
362                "font_providers.h",
363                "ifont_provider.h",
364                "system_font_provider.h",
365                "text_style.h",
366                "theme_font_provider.h",
367                "typography_builder.h",
368                "typography_style.h",
369                "typography_types.h",
370                "typography.h"
371              ],
372              "header_base": "//foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine"
373            }
374          },
375          {
376            "type": "so",
377            "name": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager:color_space_object_convertor",
378            "header": {
379              "header_files": [
380                  "color_space_object_convertor.h",
381                  "js_color_space.h",
382                  "js_color_space_utils.h"
383              ],
384              "header_base": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager/color_space_object_convertor"
385            }
386          },
387          {
388            "type": "so",
389            "name": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/hdr_capability:hdr_capability_utils",
390            "header": {
391              "header_files": [
392                  "js_hdr_format_utils.h"
393              ],
394              "header_base": "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/hdr_capability/hdr_capability_utils"
395            }
396          },
397          {
398            "type": "so",
399            "name": "//foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text:rosen_text",
400            "header": {
401              "header_files": [
402                "font_collection.h",
403                "typography_create.h",
404                "typography_style.h",
405                "text_style.h",
406                "typography.h",
407                "typography_types.h"
408              ],
409              "header_base": "//foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text"
410            }
411          },
412          {
413            "type": "so",
414            "name": "//foundation/graphic/graphic_2d/utils/buffer_handle:buffer_handle",
415            "header": {
416              "header_files": [
417                "buffer_handle_parcel.h",
418                "buffer_handle_utils.h"
419              ],
420              "header_base": "//foundation/graphic/graphic_2d/utils/buffer_handle/export"
421            }
422          }
423        ],
424        "test": [
425          "//foundation/graphic/graphic_2d:graphic_common_test",
426          "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:test",
427          "//foundation/graphic/graphic_2d/rosen/test/2d_graphics:test",
428          "//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/test:test",
429          "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/test:test",
430          "//foundation/graphic/graphic_2d/rosen/test/2d_engine:test"
431        ]
432      }
433    }
434  }
435