mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 01:00:50 +00:00
fix name
Signed-off-by: zhangbirong <zhangbirong@huawei.com> Change-Id: I6f98c8a595b52a49e2ffffecadec917d12f82674
This commit is contained in:
parent
6e2d5158b0
commit
fa0f5a7ce1
4
BUILD.gn
4
BUILD.gn
@ -21,7 +21,7 @@ group("default") {
|
||||
"rosen/modules/hyper_graphic_manager:hgm_policy_config.xml",
|
||||
]
|
||||
|
||||
if (graphic_standard_feature_bootanimation_enable) {
|
||||
if (graphic_2d_feature_bootanimation_enable) {
|
||||
public_deps += [ "frameworks/bootanimation:bootanimation" ]
|
||||
public_deps += [ "frameworks/bootanimation:bootanimation_pics" ]
|
||||
public_deps += [ "frameworks/bootanimation:bootanimation_sounds" ]
|
||||
@ -53,7 +53,7 @@ group("graphic_2d_test") {
|
||||
ohos_prebuilt_etc("graphic.rc") {
|
||||
source = "graphic.cfg"
|
||||
relative_install_dir = "init"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# graphic_standard
|
||||
# graphic_2d
|
||||
|
||||
- [简介](#简介)
|
||||
- [目录](#目录)
|
||||
|
24
bundle.json
24
bundle.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohos/graphic_standard",
|
||||
"description": "graphic_standard",
|
||||
"name": "@ohos/graphic_2d",
|
||||
"description": "graphic_2d",
|
||||
"version": "3.1",
|
||||
"license": "Apache License 2.0",
|
||||
"publishAs": "code-segment",
|
||||
@ -10,7 +10,7 @@
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
"component": {
|
||||
"name": "graphic_standard",
|
||||
"name": "graphic_2d",
|
||||
"subsystem": "graphic",
|
||||
"syscap": [
|
||||
"SystemCapability.Graphic.Graphic2D.ColorManager.Core",
|
||||
@ -24,15 +24,15 @@
|
||||
],
|
||||
"adapted_system_type": [ "standard" ],
|
||||
"features": [
|
||||
"graphic_standard_feature_bootanimation_enable",
|
||||
"graphic_standard_feature_ace_enable_gpu",
|
||||
"graphic_standard_feature_rs_enable_eglimage",
|
||||
"graphic_standard_feature_color_gamut_enable",
|
||||
"graphic_standard_feature_rs_enable_uni_render",
|
||||
"graphic_standard_feature_wuji_enable",
|
||||
"graphic_standard_feature_enable_afbc",
|
||||
"graphic_standard_feature_freemem_enable",
|
||||
"graphic_standard_feature_parallel_render_enable"
|
||||
"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_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"
|
||||
],
|
||||
"rom": "10000KB",
|
||||
"ram": "10000KB",
|
||||
|
@ -15,6 +15,6 @@ import("//build/ohos.gni")
|
||||
|
||||
ohos_prebuilt_etc("ohos.para.dac") {
|
||||
source = "//foundation/graphic/graphic_2d/etc/graphic.para.dac"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
module_install_dir = "etc/param"
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ ohos_executable("bootanimation") {
|
||||
external_deps += [ "startup:syspara" ]
|
||||
}
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -99,21 +99,21 @@ ohos_executable("bootanimation") {
|
||||
ohos_prebuilt_etc("bootanimation_pics") {
|
||||
source = "data/bootpic.zip"
|
||||
relative_install_dir = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("bootanimation_sounds") {
|
||||
source = "data/bootsound.wav"
|
||||
relative_install_dir = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("bootanimation_video") {
|
||||
source = "data/bootvideo.mp4"
|
||||
relative_install_dir = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
## Install boot animation resource to /system/etc/graphic/ }}}
|
||||
|
@ -40,7 +40,7 @@ ohos_shared_library("libfence") {
|
||||
"hilog:libhilog",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
import("//build/test.gni")
|
||||
|
||||
module_out_path = "graphic_standard/fence"
|
||||
module_out_path = "graphic_2d/fence"
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
@ -57,6 +57,6 @@ ohos_static_library("fence_test_common") {
|
||||
"//foundation/graphic/graphic_2d/utils:libgraphic_utils",
|
||||
]
|
||||
subsystem_name = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
}
|
||||
## Build fence_test_common.a }}}
|
||||
|
@ -75,7 +75,7 @@ if (current_os != "ohos") {
|
||||
output_extension = "so"
|
||||
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
}
|
||||
@ -116,7 +116,7 @@ ohos_shared_library("GLESv1") {
|
||||
output_name = "GLESv1"
|
||||
output_extension = "so"
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -156,7 +156,7 @@ ohos_shared_library("GLESv2") {
|
||||
output_name = "GLESv2"
|
||||
output_extension = "so"
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -209,7 +209,7 @@ if (current_os != "ohos") {
|
||||
output_extension = "so"
|
||||
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
}
|
||||
@ -239,7 +239,7 @@ ohos_executable("opengl_wrapper_native_test") {
|
||||
"hilog:libhilog",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -274,7 +274,7 @@ ohos_shared_library("debug_layer_test1") {
|
||||
|
||||
symlink_target_name = [ "libdebug_layer_test1.so" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -290,7 +290,7 @@ ohos_shared_library("debug_layer_test2") {
|
||||
|
||||
symlink_target_name = [ "libdebug_layer_test2.so" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
## Build libdebug_layer_test.so }}}
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/opengl_wrapper"
|
||||
module_output_path = "graphic_2d/opengl_wrapper"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("EGLWrapperContextFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/opengl_wrapper"
|
||||
module_output_path = "graphic_2d/opengl_wrapper"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("EGLWrapperDisplayFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/opengl_wrapper"
|
||||
module_output_path = "graphic_2d/opengl_wrapper"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("EGLWrapperEntryFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/opengl_wrapper"
|
||||
module_output_path = "graphic_2d/opengl_wrapper"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("EGLWrapperLayerFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/opengl_wrapper"
|
||||
module_output_path = "graphic_2d/opengl_wrapper"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("EGLWrapperLoaderFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/opengl_wrapper"
|
||||
module_output_path = "graphic_2d/opengl_wrapper"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("EGLWrapperObjectFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/opengl_wrapper"
|
||||
module_output_path = "graphic_2d/opengl_wrapper"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("EGLWrapperSurfaceFuzzTest") {
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
import("//build/test.gni")
|
||||
|
||||
module_out_path = "graphic_standard/opengl_wrapper"
|
||||
module_out_path = "graphic_2d/opengl_wrapper"
|
||||
|
||||
group("systemtest") {
|
||||
testonly = true
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
import("//build/test.gni")
|
||||
|
||||
module_out_path = "graphic_standard/opengl_wrapper"
|
||||
module_out_path = "graphic_2d/opengl_wrapper"
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
@ -65,5 +65,5 @@ ohos_static_library("opengl_wrapper_test_common") {
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
subsystem_name = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ config("surface_public_config") {
|
||||
if (ace_enable_gpu) {
|
||||
defines = [ "ACE_ENABLE_GPU" ]
|
||||
}
|
||||
if (graphic_standard_feature_freemem_enable) {
|
||||
if (graphic_2d_feature_freemem_enable) {
|
||||
defines += [ "SURFACE_ENABLE_FREEMEM" ]
|
||||
}
|
||||
defines += gpu_defines
|
||||
@ -118,7 +118,7 @@ ohos_shared_library("surface") {
|
||||
"chipsetsdk",
|
||||
"platformsdk",
|
||||
]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/surface"
|
||||
module_output_path = "graphic_2d/surface"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("BufferQueueFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/surface"
|
||||
module_output_path = "graphic_2d/surface"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("BufferUtilsFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/surface"
|
||||
module_output_path = "graphic_2d/surface"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("NativeBufferFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/surface"
|
||||
module_output_path = "graphic_2d/surface"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("NativeWindowFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/surface"
|
||||
module_output_path = "graphic_2d/surface"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("SurfaceFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/surface"
|
||||
module_output_path = "graphic_2d/surface"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("SurfaceBufferFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/surface"
|
||||
module_output_path = "graphic_2d/surface"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("SurfaceUtilsFuzzTest") {
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
import("//build/test.gni")
|
||||
|
||||
module_out_path = "graphic_standard/surface"
|
||||
module_out_path = "graphic_2d/surface"
|
||||
|
||||
group("systemtest") {
|
||||
testonly = true
|
||||
|
@ -14,7 +14,7 @@
|
||||
import("//build/test.gni")
|
||||
import("//foundation/graphic/graphic_2d/graphic_config.gni")
|
||||
|
||||
module_out_path = "graphic_standard/surface"
|
||||
module_out_path = "graphic_2d/surface"
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
@ -233,6 +233,6 @@ ohos_static_library("surface_test_common") {
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
subsystem_name = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
}
|
||||
## Build surface_test_common.a }}}
|
||||
|
@ -66,7 +66,7 @@ ohos_shared_library("libnative_image") {
|
||||
"ipc:ipc_single",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
## Build libnative_image.so }}}
|
||||
|
@ -58,7 +58,7 @@ ohos_shared_library("vulkan_swapchain_layer") {
|
||||
output_name = "vulkan_swapchain"
|
||||
output_extension = "so"
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -67,7 +67,7 @@ ohos_shared_library("vulkan_swapchain_layer") {
|
||||
## Build VkLayer_swapchain.json {{{
|
||||
ohos_prebuilt_etc("vulkan_swapchain_layer_json") {
|
||||
source = "swapchain_layer/VkLayer_swapchain.json"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
module_install_dir = "etc/vulkan/implicit_layer.d"
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/vulkan_layers"
|
||||
module_output_path = "graphic_2d/vulkan_layers"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("SwapchainLayerFuzzTest") {
|
||||
@ -30,8 +30,8 @@ ohos_fuzztest("SwapchainLayerFuzzTest") {
|
||||
]
|
||||
public_deps = [ "//third_party/vulkan-headers:vulkan_headers" ]
|
||||
external_deps = [
|
||||
"graphic_standard:surface",
|
||||
"graphic_standard:sync_fence",
|
||||
"graphic_2d:surface",
|
||||
"graphic_2d:sync_fence",
|
||||
"ipc:ipc_single",
|
||||
]
|
||||
sources = [ "swapchainlayer_fuzzer.cpp" ]
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
import("//build/test.gni")
|
||||
|
||||
module_out_path = "graphic_standard/vulkan_layers"
|
||||
module_out_path = "graphic_2d/vulkan_layers"
|
||||
|
||||
group("systemtest") {
|
||||
testonly = true
|
||||
@ -62,5 +62,5 @@ ohos_static_library("vulkan_loader_test_common") {
|
||||
]
|
||||
|
||||
subsystem_name = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
import("//build/test.gni")
|
||||
|
||||
module_out_path = "graphic_standard/vulkan_layers"
|
||||
module_out_path = "graphic_2d/vulkan_layers"
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
@ -61,5 +61,5 @@ ohos_static_library("vulkan_loader_test_common") {
|
||||
"//third_party/zlib:libz",
|
||||
]
|
||||
subsystem_name = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
}
|
||||
|
@ -12,16 +12,16 @@
|
||||
# limitations under the License.
|
||||
|
||||
declare_args() {
|
||||
graphic_standard_feature_bootanimation_enable = true
|
||||
graphic_standard_feature_ace_enable_gpu = true
|
||||
graphic_standard_feature_color_gamut_enable = false
|
||||
graphic_standard_feature_rs_enable_eglimage = false
|
||||
graphic_standard_feature_rs_enable_uni_render = false
|
||||
graphic_standard_feature_wuji_enable = false
|
||||
graphic_standard_feature_enable_afbc = false
|
||||
graphic_standard_feature_freemem_enable = false
|
||||
graphic_standard_feature_parallel_render_enable = true
|
||||
graphic_standard_feature_enable_vulkan = false
|
||||
graphic_2d_feature_bootanimation_enable = true
|
||||
graphic_2d_feature_ace_enable_gpu = true
|
||||
graphic_2d_feature_color_gamut_enable = false
|
||||
graphic_2d_feature_rs_enable_eglimage = false
|
||||
graphic_2d_feature_rs_enable_uni_render = false
|
||||
graphic_2d_feature_wuji_enable = false
|
||||
graphic_2d_feature_enable_afbc = false
|
||||
graphic_2d_feature_freemem_enable = false
|
||||
graphic_2d_feature_parallel_render_enable = true
|
||||
graphic_2d_feature_enable_vulkan = false
|
||||
if (defined(build_cross_platform_version) && build_cross_platform_version) {
|
||||
use_new_render_context = false
|
||||
} else {
|
||||
@ -31,8 +31,8 @@ declare_args() {
|
||||
|
||||
gpu_defines = []
|
||||
accessibility_defines = []
|
||||
if (graphic_standard_feature_ace_enable_gpu) {
|
||||
if (graphic_standard_feature_enable_vulkan) {
|
||||
if (graphic_2d_feature_ace_enable_gpu) {
|
||||
if (graphic_2d_feature_enable_vulkan) {
|
||||
gpu_defines += [
|
||||
"ACE_ENABLE_VK",
|
||||
"RS_ENABLE_VK",
|
||||
@ -55,7 +55,7 @@ if (graphic_standard_feature_ace_enable_gpu) {
|
||||
]
|
||||
|
||||
libvulkan = []
|
||||
if (graphic_standard_feature_enable_vulkan) {
|
||||
if (graphic_2d_feature_enable_vulkan) {
|
||||
libvulkan += [
|
||||
"//third_party/flutter/engine/flutter/vulkan:vulkan_flutter",
|
||||
"//third_party/vulkan-loader/openharmony:vulkan_loader",
|
||||
@ -70,8 +70,8 @@ if (graphic_standard_feature_ace_enable_gpu) {
|
||||
libvulkan = []
|
||||
}
|
||||
|
||||
if ((graphic_standard_feature_rs_enable_eglimage &&
|
||||
!graphic_standard_feature_enable_vulkan) || current_os == "android") {
|
||||
if ((graphic_2d_feature_rs_enable_eglimage &&
|
||||
!graphic_2d_feature_enable_vulkan) || current_os == "android") {
|
||||
gpu_defines += [
|
||||
"RS_ENABLE_EGLIMAGE",
|
||||
"RS_ENABLE_EGLQUERYSURFACE",
|
||||
@ -82,7 +82,7 @@ if ((graphic_standard_feature_rs_enable_eglimage &&
|
||||
rs_enable_eglimage = false
|
||||
}
|
||||
|
||||
if (graphic_standard_feature_rs_enable_uni_render) {
|
||||
if (graphic_2d_feature_rs_enable_uni_render) {
|
||||
rs_enable_driven_render = true
|
||||
gpu_defines += [
|
||||
"RS_ENABLE_DRIVEN_RENDER",
|
||||
@ -92,12 +92,11 @@ if (graphic_standard_feature_rs_enable_uni_render) {
|
||||
rs_enable_driven_render = false
|
||||
}
|
||||
|
||||
if (graphic_standard_feature_enable_afbc &&
|
||||
!graphic_standard_feature_enable_vulkan) {
|
||||
if (graphic_2d_feature_enable_afbc && !graphic_2d_feature_enable_vulkan) {
|
||||
gpu_defines += [ "RS_ENABLE_AFBC" ]
|
||||
}
|
||||
|
||||
if (graphic_standard_feature_parallel_render_enable) {
|
||||
if (graphic_2d_feature_parallel_render_enable) {
|
||||
rs_enable_parallel_render = true
|
||||
gpu_defines += [ "RS_ENABLE_PARALLEL_RENDER" ]
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ import("//build/ohos/ace/ace.gni")
|
||||
js_declaration("window") {
|
||||
sources = [ "./api" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
}
|
||||
|
||||
ohos_copy("window_declaration") {
|
||||
|
@ -59,6 +59,6 @@ ohos_shared_library("windowanimationmanager_napi") {
|
||||
}
|
||||
|
||||
relative_install_dir = "module/animation"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ ohos_shared_library("color_space_object_convertor") {
|
||||
cflags_cc = [ "-std=c++17" ]
|
||||
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -78,6 +78,6 @@ ohos_shared_library("colorspacemanager_napi") {
|
||||
cflags_cc = [ "-std=c++17" ]
|
||||
|
||||
relative_install_dir = "module/graphics"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ ohos_shared_library("effectkit") {
|
||||
cflags_cc = [ "-std=c++17" ]
|
||||
|
||||
relative_install_dir = "module"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
## Build effect_kit.so
|
||||
|
@ -52,6 +52,6 @@ ohos_shared_library("libhgmnapi") {
|
||||
]
|
||||
|
||||
relative_install_dir = "module"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ ohos_source_set("webgl_src") {
|
||||
|
||||
configs = [ ":render_config" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -99,6 +99,6 @@ ohos_shared_library("libwebglnapi") {
|
||||
} else {
|
||||
install_enable = false
|
||||
}
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ template("rosen_libicu") {
|
||||
forward_variables_from(invoker, "*")
|
||||
|
||||
ohos_source_set(target_name) {
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
public_configs = [ ":icu_config_$platform" ]
|
||||
configs = [ ":icu_compile_flags" ]
|
||||
|
@ -39,14 +39,14 @@ ohos_shared_library("rosen_text") {
|
||||
deps = [ "$graphic_2d_root/rosen/modules/2d_graphics:2d_graphics_new" ]
|
||||
}
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
ohos_source_set("rosen_text_inner") {
|
||||
public_deps = [ ":rosen_text_txt" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -75,7 +75,7 @@ ohos_source_set("rosen_text_texgine") {
|
||||
"$graphic_2d_root/rosen/modules/texgine/texgine_drawing:libtexgine_drawing",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -118,6 +118,6 @@ ohos_source_set("rosen_text_txt") {
|
||||
|
||||
deps += [ "$ace_flutter_engine_root/libtxt:thirdparty_lib_txt_$platform" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -157,7 +157,7 @@ template("graphics2d_source_set") {
|
||||
}
|
||||
deps += [ "$rosen_root/modules/2d_engine/rosen_text:rosen_text_inner" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
}
|
||||
@ -194,7 +194,7 @@ if (!is_cross_platform_build) {
|
||||
deps = [ ":2d_graphics_source_ohos" ]
|
||||
public_configs = [ ":2d_graphics_config" ]
|
||||
innerapi_tags = [ "platformsdk_indirect" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
}
|
||||
@ -207,7 +207,7 @@ ohos_shared_library("2d_graphics_new") {
|
||||
deps = [ ":2d_graphics_source_$platform" ]
|
||||
public_configs = [ ":2d_graphics_config" ]
|
||||
innerapi_tags = [ "platformsdk_indirect" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -268,7 +268,7 @@ ohos_shared_library("2d_graphics_canvaskit0310") {
|
||||
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -307,6 +307,6 @@ ohos_shared_library("2d_graphics_drawing") {
|
||||
}
|
||||
deps = [ "$rosen_root/modules/2d_engine/rosen_text:rosen_text_inner" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -40,6 +40,6 @@ ohos_shared_library("window_animation") {
|
||||
]
|
||||
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/rosen/modules/animation/window_animation"
|
||||
module_output_path = "graphic_2d/rosen/modules/animation/window_animation"
|
||||
|
||||
ohos_unittest("RSWindowAnimationTest") {
|
||||
module_out_path = module_output_path
|
||||
|
@ -78,7 +78,7 @@ ohos_shared_library("libcomposer") {
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/composer"
|
||||
module_output_path = "graphic_2d/composer"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("HdiBackendFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/composer"
|
||||
module_output_path = "graphic_2d/composer"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("HdiDeviceFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/composer"
|
||||
module_output_path = "graphic_2d/composer"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("HdiLayerFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/composer"
|
||||
module_output_path = "graphic_2d/composer"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("HdiOutputFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/composer"
|
||||
module_output_path = "graphic_2d/composer"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("HdiScreenFuzzTest") {
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
import("//build/test.gni")
|
||||
|
||||
module_out_path = "graphic_standard/composer"
|
||||
module_out_path = "graphic_2d/composer"
|
||||
|
||||
group("systemtest") {
|
||||
testonly = true
|
||||
|
@ -13,8 +13,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef GRAPHIC_STANDARD_COMPOSER_LAYER_CONTEXT_MOCK_H
|
||||
#define GRAPHIC_STANDARD_COMPOSER_LAYER_CONTEXT_MOCK_H
|
||||
#ifndef graphic_2d_COMPOSER_LAYER_CONTEXT_MOCK_H
|
||||
#define graphic_2d_COMPOSER_LAYER_CONTEXT_MOCK_H
|
||||
|
||||
#include "hdi_layer.h"
|
||||
|
||||
@ -40,4 +40,4 @@ private:
|
||||
} // namespace MockSys
|
||||
} // namespace Rosen
|
||||
} // namespace OHOS
|
||||
#endif // GRAPHIC_STANDARD_COMPOSER_LAYER_CONTEXT_MOCK_H
|
||||
#endif // graphic_2d_COMPOSER_LAYER_CONTEXT_MOCK_H
|
@ -13,8 +13,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef GRAPHIC_STANDARD_COMPOSER_HDIDEVICE_MOCK_H
|
||||
#define GRAPHIC_STANDARD_COMPOSER_HDIDEVICE_MOCK_H
|
||||
#ifndef graphic_2d_COMPOSER_HDIDEVICE_MOCK_H
|
||||
#define graphic_2d_COMPOSER_HDIDEVICE_MOCK_H
|
||||
|
||||
#include "hdi_device.h"
|
||||
|
||||
@ -91,4 +91,4 @@ public:
|
||||
} // namespace MockSys
|
||||
} // namespace Rosen
|
||||
} // namespace OHOS
|
||||
#endif // GRAPHIC_STANDARD_COMPOSER_HDIDEVICE_MOCK_H
|
||||
#endif // graphic_2d_COMPOSER_HDIDEVICE_MOCK_H
|
@ -14,7 +14,7 @@
|
||||
import("//build/test.gni")
|
||||
import("//foundation/graphic/graphic_2d/graphic_config.gni")
|
||||
|
||||
module_out_path = "graphic_standard/composer"
|
||||
module_out_path = "graphic_2d/composer"
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
|
@ -13,8 +13,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef GRAPHIC_STANDARD_COMPOSER_HDIDEVICE_MOCK_H
|
||||
#define GRAPHIC_STANDARD_COMPOSER_HDIDEVICE_MOCK_H
|
||||
#ifndef graphic_2d_COMPOSER_HDIDEVICE_MOCK_H
|
||||
#define graphic_2d_COMPOSER_HDIDEVICE_MOCK_H
|
||||
|
||||
#include "hdi_device.h"
|
||||
|
||||
@ -91,4 +91,4 @@ public:
|
||||
} // namespace Mock
|
||||
} // namespace Rosen
|
||||
} // namespace OHOS
|
||||
#endif // GRAPHIC_STANDARD_COMPOSER_HDIDEVICE_MOCK_H
|
||||
#endif // graphic_2d_COMPOSER_HDIDEVICE_MOCK_H
|
@ -52,7 +52,7 @@ ohos_shared_library("libnative_vsync") {
|
||||
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
## Build libnative_vsync.so
|
||||
|
@ -82,7 +82,7 @@ ohos_shared_library("libvsync") {
|
||||
}
|
||||
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/composer"
|
||||
module_output_path = "graphic_2d/composer"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("VsyncConnectionFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/composer"
|
||||
module_output_path = "graphic_2d/composer"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("VsyncControllerFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/composer"
|
||||
module_output_path = "graphic_2d/composer"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("VsyncDistributorFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/composer"
|
||||
module_output_path = "graphic_2d/composer"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("VsyncReceiverFuzzTest") {
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/composer"
|
||||
module_output_path = "graphic_2d/composer"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("VsyncSamplerFuzzTest") {
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
import("//build/test.gni")
|
||||
|
||||
module_out_path = "graphic_standard/composer"
|
||||
module_out_path = "graphic_2d/composer"
|
||||
|
||||
group("systemtest") {
|
||||
testonly = true
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
import("//build/test.gni")
|
||||
|
||||
module_out_path = "graphic_standard/composer"
|
||||
module_out_path = "graphic_2d/composer"
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
@ -148,6 +148,6 @@ ohos_static_library("vsync_test_common") {
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
subsystem_name = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
}
|
||||
## Build vsync_test_common.a }}}
|
||||
|
@ -64,7 +64,7 @@ ohos_shared_library("color_picker") {
|
||||
cflags_cc = [ "-std=c++17" ]
|
||||
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
## Build color_picker.so
|
||||
|
@ -91,6 +91,6 @@ ohos_shared_library("libeffectchain") {
|
||||
install_enable = false
|
||||
}
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -58,6 +58,6 @@ ohos_shared_library("libegl_effect") {
|
||||
}
|
||||
|
||||
innerapi_tags = [ "platformsdk_indirect" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -86,6 +86,6 @@ ohos_shared_library("skeffectchain") {
|
||||
|
||||
install_enable = true
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -49,6 +49,6 @@ ohos_executable("test_effect_chain") {
|
||||
install_enable = false
|
||||
}
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ import("//build/test.gni")
|
||||
import("//foundation/graphic/graphic_2d/graphic_config.gni")
|
||||
import("//foundation/graphic/graphic_2d/rosen/modules/effect/effect_config.gni")
|
||||
|
||||
module_output_path = "graphic_standard/rosen/modules/effect"
|
||||
module_output_path = "graphic_2d/rosen/modules/effect"
|
||||
|
||||
ohos_unittest("EffectTest") {
|
||||
module_out_path = module_output_path
|
||||
|
@ -75,6 +75,6 @@ ohos_shared_library("libframe_analyzer") {
|
||||
|
||||
subsystem_name = "graphic"
|
||||
innerapi_tags = [ "platformsdk_indirect" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
}
|
||||
## Build libframe_analyzer.so }}}
|
||||
|
@ -42,7 +42,7 @@ ohos_shared_library("libglfw_render_context") {
|
||||
"//third_party/flutter/glfw:glfw",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
## Build libglfw_render_context.so }}}
|
||||
|
@ -50,7 +50,7 @@ ohos_shared_library("libhyper_graphic_manager") {
|
||||
"init:libbegetutil",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
|
||||
if (is_standard_system) {
|
||||
@ -63,6 +63,6 @@ ohos_shared_library("libhyper_graphic_manager") {
|
||||
ohos_prebuilt_etc("hgm_policy_config.xml") {
|
||||
source = "config/include/hgm_policy_config.xml"
|
||||
relative_install_dir = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ ohos_source_set("impl_eventhandler") {
|
||||
":utils",
|
||||
"//third_party/libuv:uv",
|
||||
]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -95,7 +95,7 @@ ohos_source_set("mock_image_native") {
|
||||
public_configs = [ ":image_native_config" ]
|
||||
sources = [ "image_native/pixel_map.cpp" ]
|
||||
deps = [ ":utils" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -125,7 +125,7 @@ ohos_source_set("mock_ipc_core") {
|
||||
"ipc_core/peer_holder.cpp",
|
||||
]
|
||||
deps = [ ":utils" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -166,7 +166,7 @@ ohos_source_set("mock_utils") {
|
||||
]
|
||||
public_deps = [ "//third_party/bounds_checking_function:libsec_shared" ]
|
||||
}
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
# utils }}}
|
||||
|
@ -30,6 +30,6 @@ ohos_source_set("render_frame_trace") {
|
||||
}
|
||||
}
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ import("$graphic_2d_root/rosen/modules/render_service_base/config.gni")
|
||||
## Build librender_service.so
|
||||
ohos_shared_library("librender_service") {
|
||||
defines = []
|
||||
if (graphic_standard_feature_color_gamut_enable) {
|
||||
if (graphic_2d_feature_color_gamut_enable) {
|
||||
defines += [ "PADDING_HEIGHT_32" ]
|
||||
} else {
|
||||
defines += []
|
||||
@ -134,7 +134,7 @@ ohos_shared_library("librender_service") {
|
||||
}
|
||||
|
||||
if (rs_enable_gpu) {
|
||||
if (graphic_standard_feature_enable_vulkan) {
|
||||
if (graphic_2d_feature_enable_vulkan) {
|
||||
include_dirs += [ "//third_party/flutter/engine/flutter/vulkan" ]
|
||||
}
|
||||
|
||||
@ -174,7 +174,7 @@ ohos_shared_library("librender_service") {
|
||||
defines += accessibility_defines
|
||||
}
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -194,6 +194,6 @@ ohos_executable("render_service") {
|
||||
"$graphic_2d_root/rosen/modules/render_service_base:librender_service_base",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -240,7 +240,7 @@ ohos_source_set("render_service_base_src") {
|
||||
sources += graphic_2d_ext_configs.librender_service_base_ext_sources
|
||||
}
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -262,7 +262,7 @@ ohos_shared_library("librender_service_base") {
|
||||
}
|
||||
|
||||
innerapi_tags = [ "platformsdk_indirect" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -278,6 +278,6 @@ ohos_source_set("librender_service_base_static") {
|
||||
public_deps += [ "src/render_backend:librender_backend" ]
|
||||
}
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ ohos_source_set("rosen_ohos_sources") {
|
||||
"backend/rs_surface_ohos_gl.cpp",
|
||||
]
|
||||
|
||||
if (graphic_standard_feature_enable_vulkan) {
|
||||
if (graphic_2d_feature_enable_vulkan) {
|
||||
sources += [
|
||||
"backend/rs_surface_frame_ohos_vulkan.cpp",
|
||||
"backend/rs_surface_ohos_vulkan.cpp",
|
||||
@ -136,7 +136,7 @@ ohos_source_set("rosen_ohos_sources") {
|
||||
include_dirs += [ "//third_party/flutter/skia" ]
|
||||
}
|
||||
|
||||
if (graphic_standard_feature_enable_vulkan) {
|
||||
if (graphic_2d_feature_enable_vulkan) {
|
||||
include_dirs += [ "//third_party/flutter/engine/flutter/vulkan" ]
|
||||
}
|
||||
public_deps += [
|
||||
@ -190,6 +190,6 @@ ohos_source_set("rosen_ohos_sources") {
|
||||
defines += [ "RES_SCHED_ENABLE" ]
|
||||
}
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ ohos_static_library("librender_backend") {
|
||||
include_dirs += [ "//third_party/flutter/skia" ]
|
||||
}
|
||||
|
||||
if (graphic_standard_feature_enable_vulkan) {
|
||||
if (graphic_2d_feature_enable_vulkan) {
|
||||
include_dirs += [ "//third_party/flutter/engine/flutter/vulkan" ]
|
||||
sources += [ "ohos/render_context_ohos_vk.cpp" ]
|
||||
}
|
||||
@ -103,6 +103,6 @@ ohos_static_library("librender_backend") {
|
||||
"samgr:samgr_proxy",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -29,6 +29,6 @@ ohos_executable("render_service_client") {
|
||||
|
||||
deps = [ "//foundation/graphic/graphic_2d/rosen/modules/render_service_base:librender_service_base" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
#####################hydra-fuzz###################
|
||||
import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
module_output_path = "graphic_standard/modules/render_service_base"
|
||||
module_output_path = "graphic_2d/modules/render_service_base"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("RSAnimationBaseFuzzTest") {
|
||||
|
@ -15,7 +15,7 @@ import("//build/test.gni")
|
||||
import(
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client/render_service_client.gni")
|
||||
|
||||
module_output_path = "graphic_standard/rosen/modules/render_service_base"
|
||||
module_output_path = "graphic_2d/rosen/modules/render_service_base"
|
||||
|
||||
ohos_unittest("RSRenderAnimationTest") {
|
||||
module_out_path = module_output_path
|
||||
|
@ -178,7 +178,7 @@ template("render_service_client_source_set") {
|
||||
|
||||
public_configs = [ ":render_service_client_config" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
}
|
||||
@ -194,14 +194,14 @@ render_service_client_source_set("render_service_client_src_static") {
|
||||
ohos_shared_library("librender_service_client") {
|
||||
public_deps = [ ":render_service_client_src" ]
|
||||
innerapi_tags = [ "platformsdk" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
ohos_source_set("librender_service_client_static") {
|
||||
public_deps = [ ":render_service_client_src_static" ]
|
||||
deps = [ "$rosen_root/modules/platform:eventhandler" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ import(
|
||||
|
||||
#import("//foundation/graphic/graphic_2d/rosen/modules/render_service_base/config.gni")
|
||||
|
||||
module_output_path = "graphic_standard/rosen/modules/render_service_client"
|
||||
module_output_path = "graphic_2d/rosen/modules/render_service_client"
|
||||
|
||||
ohos_unittest("RSAnimationTest") {
|
||||
module_out_path = module_output_path
|
||||
|
@ -51,7 +51,7 @@ ohos_executable("render_service_client_rs_demo") {
|
||||
|
||||
public_deps = [ "$public_deps_skia" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -65,7 +65,7 @@ ohos_executable("render_service_client_screen_mode_demo") {
|
||||
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -87,7 +87,7 @@ ohos_executable("render_service_client_app_demo") {
|
||||
|
||||
public_deps = [ "$public_deps_skia" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -109,7 +109,7 @@ ohos_executable("render_service_client_node_demo") {
|
||||
|
||||
public_deps = [ "$public_deps_skia" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -133,7 +133,7 @@ ohos_executable("render_service_client_modifier_demo") {
|
||||
|
||||
external_deps = [ "eventhandler:libeventhandler" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -155,7 +155,7 @@ ohos_executable("render_service_client_transition_demo") {
|
||||
|
||||
public_deps = [ "$public_deps_skia" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -180,7 +180,7 @@ ohos_executable("render_service_client_gesture_interrupt_animation_demo") {
|
||||
|
||||
external_deps = [ "eventhandler:libeventhandler" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -202,7 +202,7 @@ ohos_executable("render_service_client_gravity_demo") {
|
||||
|
||||
public_deps = [ "$public_deps_skia" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -231,7 +231,7 @@ ohos_executable("render_service_client_ui_capture_demo") {
|
||||
"//third_party/zlib:libz",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -253,7 +253,7 @@ ohos_executable("render_service_client_scale_demo") {
|
||||
|
||||
public_deps = [ "$public_deps_skia" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -277,7 +277,7 @@ ohos_executable("render_service_client_rs_animation_demo") {
|
||||
|
||||
external_deps = [ "eventhandler:libeventhandler" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -296,7 +296,7 @@ ohos_executable("surface_capture_demo") {
|
||||
|
||||
public_deps = [ "$public_deps_skia" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -309,7 +309,7 @@ ohos_executable("security_layer_demo") {
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -331,7 +331,7 @@ ohos_executable("render_service_client_surface_node_demo") {
|
||||
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -353,7 +353,7 @@ ohos_executable("render_service_client_uni_render_demo") {
|
||||
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -371,7 +371,7 @@ ohos_executable("render_service_client_watermark_demo") {
|
||||
public_deps = [ "//third_party/flutter/build/skia:ace_skia_ohos" ]
|
||||
}
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -394,7 +394,7 @@ ohos_executable("rs_uni_render_pixelmap_demo") {
|
||||
|
||||
public_deps = [ "$public_deps_skia" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -419,7 +419,7 @@ ohos_executable("render_service_display_mode_demo") {
|
||||
|
||||
public_deps = [ "$public_deps_skia" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
ohos_executable("render_service_client_tunnel_handle_demo") {
|
||||
@ -444,7 +444,7 @@ ohos_executable("render_service_client_tunnel_handle_demo") {
|
||||
"//third_party/zlib:libz",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -470,7 +470,7 @@ ohos_executable("render_service_client_overlay_demo") {
|
||||
"//third_party/zlib:libz",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -492,7 +492,7 @@ ohos_executable("snapshot_surface") {
|
||||
|
||||
public_deps = [ "//third_party/libpng:libpng" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -512,7 +512,7 @@ ohos_executable("screen_info_demo") {
|
||||
"./../../../modules/render_service_client:librender_service_client",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -533,7 +533,7 @@ ohos_executable("render_service_client_pointer_window_demo") {
|
||||
"window_manager:libdm",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -551,6 +551,6 @@ ohos_executable("render_service_client_fingerprint_demo") {
|
||||
|
||||
external_deps = [ "window_manager:libdm" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ import("//build/config/features.gni")
|
||||
import("//build/test.gni")
|
||||
import(
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client/render_service_client.gni")
|
||||
module_output_path = "graphic_standard/render_service_client"
|
||||
module_output_path = "graphic_2d/render_service_client"
|
||||
|
||||
##############################fuzztest##########################################
|
||||
ohos_fuzztest("RSAnimationFuzzTest") {
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
import("//build/test.gni")
|
||||
|
||||
module_out_path = "graphic_standard/render_service_client"
|
||||
module_out_path = "graphic_2d/render_service_client"
|
||||
|
||||
group("systemtest") {
|
||||
testonly = true
|
||||
@ -77,6 +77,6 @@ ohos_static_library("rs_client_test_common") {
|
||||
external_deps = [ "multimedia_image_framework:image_native" ]
|
||||
|
||||
subsystem_name = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
}
|
||||
## Build rs_client_test_common.a }}}
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
import("//build/test.gni")
|
||||
|
||||
module_out_path = "graphic_standard/render_service_client"
|
||||
module_out_path = "graphic_2d/render_service_client"
|
||||
|
||||
group("unittest") {
|
||||
testonly = true
|
||||
@ -129,6 +129,6 @@ ohos_static_library("rs_client_test_common") {
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
subsystem_name = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
}
|
||||
## Build rs_client_test_common.a }}}
|
||||
|
@ -15,7 +15,7 @@ import("//build/test.gni")
|
||||
import(
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client/render_service_client.gni")
|
||||
|
||||
module_output_path = "graphic_standard/rosen/modules/render_service_client"
|
||||
module_output_path = "graphic_2d/rosen/modules/render_service_client"
|
||||
|
||||
ohos_unittest("RSAnimationTest") {
|
||||
module_out_path = module_output_path
|
||||
|
@ -130,7 +130,7 @@ ohos_shared_library("libtexgine") {
|
||||
}
|
||||
}
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
## Build libtexgine.so }}}
|
||||
|
@ -66,6 +66,6 @@ ohos_shared_library("libtexgine_drawing") {
|
||||
|
||||
deps = []
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ ohos_executable("drawing_engine_sample") {
|
||||
]
|
||||
|
||||
if (ace_enable_gpu) {
|
||||
if (graphic_standard_feature_enable_vulkan) {
|
||||
if (graphic_2d_feature_enable_vulkan) {
|
||||
sources += [
|
||||
"drawing_engine/drawing_surface/surface_frame_ohos_vulkan.cpp",
|
||||
"drawing_engine/drawing_surface/surface_ohos_vulkan.cpp",
|
||||
@ -106,7 +106,7 @@ ohos_executable("drawing_engine_sample") {
|
||||
deps += [
|
||||
#"//third_party/skia:skia",
|
||||
]
|
||||
if (graphic_standard_feature_enable_vulkan) {
|
||||
if (graphic_2d_feature_enable_vulkan) {
|
||||
include_dirs += [ "//third_party/flutter/engine/flutter/vulkan" ]
|
||||
}
|
||||
public_deps += [
|
||||
@ -124,7 +124,7 @@ ohos_executable("drawing_engine_sample") {
|
||||
]
|
||||
|
||||
subsystem_name = "graphic"
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
}
|
||||
|
||||
ohos_executable("drawing_sample_rs") {
|
||||
@ -151,7 +151,7 @@ ohos_executable("drawing_sample_rs") {
|
||||
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -182,6 +182,6 @@ ohos_executable("drawing_sample_canvaskit0310") {
|
||||
"ipc:ipc_core",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ ohos_executable("drawing_sample") {
|
||||
"hilog:libhilog",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
## Build drawing_sample }}}
|
||||
|
@ -57,7 +57,7 @@ ohos_executable("hello_composer") {
|
||||
|
||||
external_deps = [ "eventhandler:libeventhandler" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@ ohos_executable("hello_native_buffer") {
|
||||
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ ohos_executable("hello_native_image") {
|
||||
"$graphic_2d_root/frameworks/surfaceimage:libnative_image",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ ohos_executable("hello_native_window") {
|
||||
|
||||
deps = [ "//foundation/graphic/graphic_2d/frameworks/surface:surface" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
## Build hello_native_window }}}
|
||||
|
@ -49,7 +49,7 @@ ohos_executable("hello_rosen") {
|
||||
"//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
## Build so }}}
|
||||
|
@ -40,7 +40,7 @@ ohos_executable("hello_vsync") {
|
||||
|
||||
deps = [ "//foundation/graphic/graphic_2d/rosen/modules/composer/native_vsync:libnative_vsync" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@ ohos_shared_library("libskia_rs_framework") {
|
||||
"input:libmmi-client",
|
||||
]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -94,7 +94,7 @@ ohos_source_set("texgine_sample") {
|
||||
|
||||
external_deps = [ "hitrace:hitrace_meter" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -102,7 +102,7 @@ ohos_executable("texgine_sample_align") {
|
||||
install_enable = true
|
||||
sources = [ "feature_test/align_test.cpp" ]
|
||||
deps = [ ":texgine_sample" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -113,7 +113,7 @@ ohos_executable("texgine_sample_alignment") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -124,7 +124,7 @@ ohos_executable("texgine_sample_calibrate") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -135,7 +135,7 @@ ohos_executable("texgine_sample_decoration") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -147,7 +147,7 @@ ohos_executable("texgine_sample_direction") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -158,7 +158,7 @@ ohos_executable("texgine_sample_mix") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -169,7 +169,7 @@ ohos_executable("texgine_sample_shadow") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -183,7 +183,7 @@ ohos_executable("texgine_sample_bug") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -195,7 +195,7 @@ ohos_executable("texgine_sample_dynamic_font") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -207,7 +207,7 @@ ohos_executable("texgine_sample_emoji") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -218,7 +218,7 @@ ohos_executable("texgine_sample_font_style") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -229,7 +229,7 @@ ohos_executable("texgine_sample_feature") {
|
||||
defines = [ "RESOURCE_PATH_PREFIX=\"/system/etc/test_resources/\"" ]
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -240,7 +240,7 @@ ohos_executable("texgine_sample_glyph_position") {
|
||||
defines = [ "RESOURCE_PATH_PREFIX=\"/system/etc/test_resources/\"" ]
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -250,7 +250,7 @@ ohos_executable("texgine_sample_intrinsic_width") {
|
||||
sources = [ "feature_test/intrinsic_width_test.cpp" ]
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -261,7 +261,7 @@ ohos_executable("texgine_sample_spacing") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -271,7 +271,7 @@ ohos_executable("texgine_sample_strut") {
|
||||
sources = [ "feature_test/strut_test.cpp" ]
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -281,7 +281,7 @@ ohos_executable("texgine_sample_text_color") {
|
||||
sources = [ "feature_test/text_color_test.cpp" ]
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -292,7 +292,7 @@ ohos_executable("texgine_sample_weight_style") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -303,7 +303,7 @@ ohos_executable("texgine_sample_word_boundary") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -314,7 +314,7 @@ ohos_executable("texgine_sample_ellipsis") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -325,7 +325,7 @@ ohos_executable("texgine_sample_layout") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -337,7 +337,7 @@ ohos_executable("texgine_sample_dynamic_otf_font") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -348,7 +348,7 @@ ohos_executable("texgine_sample_text_height") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
||||
@ -359,6 +359,6 @@ ohos_executable("texgine_sample_typography_height") {
|
||||
|
||||
deps = [ ":texgine_sample" ]
|
||||
|
||||
part_name = "graphic_standard"
|
||||
part_name = "graphic_2d"
|
||||
subsystem_name = "graphic"
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user