Make GrCaps and GrShaderCaps private.
Moves getCaps() from GrContext to GrContextPriv and removes unused refCaps().
Change-Id: Ic6a8951b656c0d1b2773eae73bff8e88af819866
Reviewed-on: https://skia-review.googlesource.com/127389
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
diff --git a/gn/gpu.gni b/gn/gpu.gni
index 8f0d04b..136bade 100644
--- a/gn/gpu.gni
+++ b/gn/gpu.gni
@@ -11,14 +11,12 @@
"$_include/gpu/GrBackendSemaphore.h",
"$_include/gpu/GrBackendSurface.h",
"$_include/gpu/GrBlend.h",
- "$_include/gpu/GrCaps.h",
"$_include/gpu/GrConfig.h",
"$_include/gpu/GrContextOptions.h",
"$_include/gpu/GrContext.h",
"$_include/gpu/GrGpuResource.h",
"$_include/gpu/GrRenderTarget.h",
"$_include/gpu/GrResourceKey.h",
- "$_include/gpu/GrShaderCaps.h",
"$_include/gpu/GrSurface.h",
"$_include/gpu/GrTexture.h",
"$_include/gpu/GrSamplerState.h",
@@ -62,6 +60,7 @@
"$_src/gpu/GrBuffer.h",
"$_src/gpu/GrBufferAllocPool.cpp",
"$_src/gpu/GrBufferAllocPool.h",
+ "$_src/gpu/GrCaps.h",
"$_src/gpu/GrCaps.cpp",
"$_src/gpu/GrClip.h",
"$_src/gpu/GrClipStackClip.h",
@@ -175,6 +174,7 @@
"$_src/gpu/GrResourceProviderPriv.h",
"$_src/gpu/GrScissorState.h",
"$_src/gpu/GrSemaphore.h",
+ "$_src/gpu/GrShaderCaps.h",
"$_src/gpu/GrShaderCaps.cpp",
"$_src/gpu/GrShape.cpp",
"$_src/gpu/GrShape.h",