aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-06-15 14:01:04 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-15 18:27:28 +0000
commit009e9af5549301be41cfbd9f286ad90842e4096b (patch)
tree86cf6a0e309d16904c4243303c2ee46dde5b009e /tests
parentd5d323f45777c4766ddf4c74eedff36ee5d9bc56 (diff)
Remove GrGpu.h from GrResourceProvider.h
Noticed this while cleaning up GrResourceProvider.h's usage. It seems like a powerful header to just be splashing around. Change-Id: I686fea61354a7e3c1c759627ffe4a560f7945f83 Reviewed-on: https://skia-review.googlesource.com/20040 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/CopySurfaceTest.cpp1
-rw-r--r--tests/FloatingPointTextureTest.cpp1
-rw-r--r--tests/GrMeshTest.cpp1
-rw-r--r--tests/GrPipelineDynamicStateTest.cpp1
-rw-r--r--tests/ImageFilterCacheTest.cpp2
-rw-r--r--tests/PackedConfigsTextureTest.cpp1
-rw-r--r--tests/ProxyConversionTest.cpp1
-rw-r--r--tests/ProxyRefTest.cpp1
-rw-r--r--tests/ReadWriteAlphaTest.cpp1
9 files changed, 10 insertions, 0 deletions
diff --git a/tests/CopySurfaceTest.cpp b/tests/CopySurfaceTest.cpp
index 2e35256d78..8dfca0c3a5 100644
--- a/tests/CopySurfaceTest.cpp
+++ b/tests/CopySurfaceTest.cpp
@@ -14,6 +14,7 @@
#include "GrResourceProvider.h"
#include "GrSurfaceContext.h"
#include "GrSurfaceProxy.h"
+#include "GrTextureProxy.h"
#include "SkUtils.h"
diff --git a/tests/FloatingPointTextureTest.cpp b/tests/FloatingPointTextureTest.cpp
index ed68e91e4a..06a99a5f1c 100644
--- a/tests/FloatingPointTextureTest.cpp
+++ b/tests/FloatingPointTextureTest.cpp
@@ -19,6 +19,7 @@
#include "GrContext.h"
#include "GrContextPriv.h"
#include "GrResourceProvider.h"
+#include "GrTextureProxy.h"
#include "SkHalf.h"
static const int DEV_W = 100, DEV_H = 100;
diff --git a/tests/GrMeshTest.cpp b/tests/GrMeshTest.cpp
index 0811982a54..e4663e1af0 100644
--- a/tests/GrMeshTest.cpp
+++ b/tests/GrMeshTest.cpp
@@ -12,6 +12,7 @@
#include "GrContext.h"
#include "GrGeometryProcessor.h"
+#include "GrGpuCommandBuffer.h"
#include "GrOpFlushState.h"
#include "GrRenderTargetContext.h"
#include "GrRenderTargetContextPriv.h"
diff --git a/tests/GrPipelineDynamicStateTest.cpp b/tests/GrPipelineDynamicStateTest.cpp
index f3dd27316d..6c014000c7 100644
--- a/tests/GrPipelineDynamicStateTest.cpp
+++ b/tests/GrPipelineDynamicStateTest.cpp
@@ -13,6 +13,7 @@
#include "GrContext.h"
#include "GrColor.h"
#include "GrGeometryProcessor.h"
+#include "GrGpuCommandBuffer.h"
#include "GrOpFlushState.h"
#include "GrRenderTargetContext.h"
#include "GrRenderTargetContextPriv.h"
diff --git a/tests/ImageFilterCacheTest.cpp b/tests/ImageFilterCacheTest.cpp
index 23341723ef..708857054a 100644
--- a/tests/ImageFilterCacheTest.cpp
+++ b/tests/ImageFilterCacheTest.cpp
@@ -181,8 +181,10 @@ DEF_TEST(ImageFilterCache_ImageBackedRaster, reporter) {
#include "GrContext.h"
#include "GrContextPriv.h"
#include "GrResourceProvider.h"
+#include "GrSurfaceProxyPriv.h"
#include "GrTest.h"
#include "GrTexture.h"
+#include "GrTextureProxy.h"
static sk_sp<GrTextureProxy> create_proxy(GrResourceProvider* resourceProvider) {
SkBitmap srcBM = create_bm();
diff --git a/tests/PackedConfigsTextureTest.cpp b/tests/PackedConfigsTextureTest.cpp
index 916f27a04a..f91fc428e6 100644
--- a/tests/PackedConfigsTextureTest.cpp
+++ b/tests/PackedConfigsTextureTest.cpp
@@ -17,6 +17,7 @@
#include "GrContext.h"
#include "GrContextPriv.h"
#include "GrResourceProvider.h"
+#include "GrTextureProxy.h"
static const int DEV_W = 10, DEV_H = 10;
static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
diff --git a/tests/ProxyConversionTest.cpp b/tests/ProxyConversionTest.cpp
index 98f0985e03..513b680045 100644
--- a/tests/ProxyConversionTest.cpp
+++ b/tests/ProxyConversionTest.cpp
@@ -11,6 +11,7 @@
#if SK_SUPPORT_GPU
#include "GrBackendSurface.h"
+#include "GrRenderTarget.h"
#include "GrRenderTargetProxy.h"
#include "GrResourceProvider.h"
#include "GrSurfaceProxy.h"
diff --git a/tests/ProxyRefTest.cpp b/tests/ProxyRefTest.cpp
index 61e57209ce..04510b3e7f 100644
--- a/tests/ProxyRefTest.cpp
+++ b/tests/ProxyRefTest.cpp
@@ -11,6 +11,7 @@
#if SK_SUPPORT_GPU
#include "GrContextPriv.h"
+#include "GrGpuResourceRef.h"
#include "GrRenderTargetProxy.h"
#include "GrResourceProvider.h"
#include "GrSurfaceProxy.h"
diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp
index 531159ff6f..344400cca7 100644
--- a/tests/ReadWriteAlphaTest.cpp
+++ b/tests/ReadWriteAlphaTest.cpp
@@ -15,6 +15,7 @@
#include "GrResourceProvider.h"
#include "GrSurfaceContext.h"
#include "GrSurfaceProxy.h"
+#include "GrTextureProxy.h"
#include "SkCanvas.h"
#include "SkSurface.h"