aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-04-24 07:31:02 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-24 12:13:16 +0000
commite3302dfb81865051ad19cd1c91e2ec3a27df3417 (patch)
tree61d6c53ce21f75f6f5f46e24f160760985366e10 /gn
parent96a533051fc71b5ba8ddfaf01498894feed29847 (diff)
Make InstancedRendering more opList-splitting friendly
This CL splits the InstancedRendering class into an allocator and a per-opList op tracker. This was done because we need to allocate the InstancedRendering ops before we know the final destination opList. The InstancedRendering ops are now still all allocated from the same pool but the tracking and execution is done per opList. Change-Id: Ieddabb6f85f8f187c5e7373f7f6cb155d69a9685 Reviewed-on: https://skia-review.googlesource.com/13860 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Chris Dalton <csmartdalton@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 fc2c53238e..6bc2908839 100644
--- a/gn/gpu.gni
+++ b/gn/gpu.gni
@@ -344,6 +344,8 @@ skia_gpu_sources = [
"$_src/gpu/effects/GrYUVEffect.cpp",
"$_src/gpu/effects/GrYUVEffect.h",
+ "$_src/gpu/instanced/InstancedOp.cpp",
+ "$_src/gpu/instanced/InstancedOp.h",
"$_src/gpu/instanced/InstancedRendering.cpp",
"$_src/gpu/instanced/InstancedRendering.h",
"$_src/gpu/instanced/InstancedRenderingTypes.h",