aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2018-09-28 11:27:57 -0400
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2018-09-28 17:52:59 +0000
commit66c505f6e8701bf088b322483041376f9fe9da5c (patch)
tree1c69d406efa0c622a1ca971e2f4125b681ffe9d0 /gn
parent813b5ac183da02e094d8801ee84956ee205f12c7 (diff)
downloadskqp-66c505f6e8701bf088b322483041376f9fe9da5c.tar.gz
expand imageinfo in C api, start on colorspace
After sk_imageinfo was initially created, we have added a colorspace to it, and that object is a smart-pointer. In response to that, this CL upgrades imageinfo to an "object" (like paint), so we can manage the ref-counting of its colorspace, and to allow for future changes/expansion (like paint). Bug: skia: Change-Id: I629ff99c0820fdbe83f062d9fb768c15cda68e18 Reviewed-on: https://skia-review.googlesource.com/157156 Commit-Queue: Mike Klein <mtklein@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'gn')
-rw-r--r--gn/core.gni1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn/core.gni b/gn/core.gni
index 65d3892211..f8d7fdf4f9 100644
--- a/gn/core.gni
+++ b/gn/core.gni
@@ -8,6 +8,7 @@ _src = get_path_info("../src", "abspath")
_include = get_path_info("../include", "abspath")
skia_core_sources = [
+ "$_src/c/sk_imageinfo.cpp",
"$_src/c/sk_paint.cpp",
"$_src/c/sk_surface.cpp",
"$_src/c/sk_types_priv.h",