aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2017-04-18 15:52:36 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-18 20:33:58 +0000
commit9440345a81d6c2372ac0aed937080f3da67439dd (patch)
tree6db32e47129a4469dff10d0f980d29a4d04b07ef /gn
parent4d8adbccc46b53e44000c433dabade338eb35c6f (diff)
Add backend safe classes for passing in external texture and render targets into gpu
This CL adds the GrBackend* classes as well as just updates the API for SkSurface and SkImage. The implementation on SkSurface/Image and the plumbing down into Ganesh will be in an additional CL. Besides the change to use the type safe classes, we also pull the SurfaceFlags, origin, samples, out of the descriptor and pass those in directly. Bug: skia: Change-Id: I9702981fe26c3d5d7d2cbcf6977ba569d356d854 Reviewed-on: https://skia-review.googlesource.com/13122 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'gn')
-rw-r--r--gn/gpu.gni2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn/gpu.gni b/gn/gpu.gni
index bf908378be..84b9456efe 100644
--- a/gn/gpu.gni
+++ b/gn/gpu.gni
@@ -8,6 +8,7 @@ _src = get_path_info("../src", "abspath")
_include = get_path_info("../include", "abspath")
skia_gpu_sources = [
+ "$_include/gpu/GrBackendSurface.h",
"$_include/gpu/GrBlend.h",
"$_include/gpu/GrBuffer.h",
"$_include/gpu/GrCaps.h",
@@ -63,6 +64,7 @@ skia_gpu_sources = [
"$_src/gpu/GrAuditTrail.cpp",
"$_src/gpu/GrAutoLocaleSetter.h",
"$_src/gpu/GrAllocator.h",
+ "$_src/gpu/GrBackendSurface.cpp",
"$_src/gpu/GrBitmapTextureMaker.cpp",
"$_src/gpu/GrBitmapTextureMaker.h",
"$_src/gpu/GrBlend.cpp",