diff --git a/gn/gpu.gni b/gn/gpu.gni index ba45a9bc8b..40d7495afb 100644 --- a/gn/gpu.gni +++ b/gn/gpu.gni @@ -40,7 +40,6 @@ skia_gpu_sources = [ "$_include/private/GrRenderTargetProxy.h", "$_include/private/GrSurfaceProxy.h", "$_include/private/GrSurfaceProxyRef.h", - "$_include/private/GrSwizzle.h", "$_include/private/GrTextureProxy.h", "$_include/private/GrTypesPriv.h", @@ -190,6 +189,7 @@ skia_gpu_sources = [ "$_src/gpu/GrSurfaceContextPriv.h", "$_src/gpu/GrSurfaceProxyPriv.h", "$_src/gpu/GrSurfaceProxyRef.cpp", + "$_src/gpu/GrSwizzle.h", "$_src/gpu/GrTessellator.cpp", "$_src/gpu/GrTessellator.h", "$_src/gpu/GrTextureOpList.cpp", diff --git a/src/gpu/GrShaderCaps.h b/src/gpu/GrShaderCaps.h index 914394672a..e16c9f6d5b 100644 --- a/src/gpu/GrShaderCaps.h +++ b/src/gpu/GrShaderCaps.h @@ -8,7 +8,7 @@ #ifndef GrShaderCaps_DEFINED #define GrShaderCaps_DEFINED -#include "../private/GrSwizzle.h" +#include "GrSwizzle.h" #include "GrTypesPriv.h" #include "SkRefCnt.h" #include "glsl/GrGLSL.h" diff --git a/include/private/GrSwizzle.h b/src/gpu/GrSwizzle.h similarity index 100% rename from include/private/GrSwizzle.h rename to src/gpu/GrSwizzle.h