aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRenderTargetProxy.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-05-17 14:27:58 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-18 14:38:03 +0000
commit081e0e6a32244a7945ddd40c2003fd312673c586 (patch)
tree4e21a3f2e8a7768cac66c38200f7ad3ad8a50623 /src/gpu/GrRenderTargetProxy.cpp
parentc96da1e51e1ca72d54dda49f32891bd41530ad31 (diff)
Move MIP color mode from GrSurfaceProxy to GrTextureProxy
Change-Id: I76bc7f551ea4052fc611cf01e0ce81102c9c3395 Reviewed-on: https://skia-review.googlesource.com/17263 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetProxy.cpp')
-rw-r--r--src/gpu/GrRenderTargetProxy.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrRenderTargetProxy.cpp b/src/gpu/GrRenderTargetProxy.cpp
index 099f7e5f8d..7cc51dfcd6 100644
--- a/src/gpu/GrRenderTargetProxy.cpp
+++ b/src/gpu/GrRenderTargetProxy.cpp
@@ -49,7 +49,8 @@ GrSurface* GrRenderTargetProxy::instantiate(GrResourceProvider* resourceProvider
static constexpr GrSurfaceFlags kFlags = kRenderTarget_GrSurfaceFlag;
GrSurface* surf = this->instantiateImpl(resourceProvider, fSampleCnt, kFlags,
- /* isMipped = */ false);
+ /* isMipped = */ false,
+ SkDestinationSurfaceColorMode::kLegacy);
if (!surf) {
return nullptr;
}