Move GrDrawOp pipeline/clip processing to GrRenderTargetContext

This is currently done in GrOpList. However, it can trigger resource creation, which in turn can trigger a flush. In the future flushing may destroy the op list.

Change-Id: I21cb1e10060bf31c95431c0511fcfff637cd6498
Reviewed-on: https://skia-review.googlesource.com/9304
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/gn/gpu.gni b/gn/gpu.gni
index 7c1ad9d..4cab21f 100644
--- a/gn/gpu.gni
+++ b/gn/gpu.gni
@@ -27,7 +27,6 @@
   "$_include/gpu/GrProgramElement.h",
   "$_include/gpu/GrGpuResourceRef.h",
   "$_include/gpu/GrRenderTarget.h",
-  "$_include/gpu/GrRenderTargetContext.h",
   "$_include/gpu/GrResourceKey.h",
   "$_include/gpu/GrShaderCaps.h",
   "$_include/gpu/GrShaderVar.h",
@@ -162,6 +161,7 @@
   "$_src/gpu/GrReducedClip.cpp",
   "$_src/gpu/GrReducedClip.h",
   "$_src/gpu/GrRenderTargetContext.cpp",
+  "$_src/gpu/GrRenderTargetContext.h",
   "$_src/gpu/GrRenderTargetContextPriv.h",
   "$_src/gpu/GrPathRenderingRenderTargetContext.cpp",
   "$_src/gpu/GrPathRenderingRenderTargetContext.h",