aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/GrRenderTargetProxy.h
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-03-04 08:12:46 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-04 13:49:47 +0000
commit32342f032e1dfd133040324f851f0365f9d4cb51 (patch)
tree56cc2ae886ef068ff0ebb13a22c9357b40cdc6dd /include/private/GrRenderTargetProxy.h
parentae9718f1d40556ed5a49e616dbe54087f4d0d546 (diff)
Rebase and fix chromium
Combine texture provider and resource provider Largely mechanical. Only three places that were calling createApprox via texture provider (ie without flags), so that was simple. BUG=skia: Change-Id: I876367bcdc6a8db736deedab1028de1972015509 Reviewed-on: https://skia-review.googlesource.com/9176 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/private/GrRenderTargetProxy.h')
-rw-r--r--include/private/GrRenderTargetProxy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/private/GrRenderTargetProxy.h b/include/private/GrRenderTargetProxy.h
index 3bf506c951..adc7553941 100644
--- a/include/private/GrRenderTargetProxy.h
+++ b/include/private/GrRenderTargetProxy.h
@@ -12,7 +12,7 @@
#include "GrSurfaceProxy.h"
#include "GrTypes.h"
-class GrTextureProvider;
+class GrResourceProvider;
// This class delays the acquisition of RenderTargets until they are actually
// required
@@ -24,7 +24,7 @@ public:
const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; }
// Actually instantiate the backing rendertarget, if necessary.
- GrRenderTarget* instantiate(GrTextureProvider* texProvider);
+ GrRenderTarget* instantiate(GrResourceProvider* resourceProvider);
bool isStencilBufferMultisampled() const { return fDesc.fSampleCnt > 0; }