From c7fe0f708ccbf12bf2ad1374ff307940d2c93880 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Fri, 11 May 2018 10:14:21 -0400 Subject: 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 Reviewed-by: Greg Daniel --- gn/gpu.gni | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn/gpu.gni') diff --git a/gn/gpu.gni b/gn/gpu.gni index 8f0d04b8ae..136bade214 100644 --- a/gn/gpu.gni +++ b/gn/gpu.gni @@ -11,14 +11,12 @@ skia_gpu_sources = [ "$_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 @@ skia_gpu_sources = [ "$_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 @@ skia_gpu_sources = [ "$_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", -- cgit v1.2.3