aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureProxy.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-02-27 11:39:51 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-28 13:40:19 +0000
commitc8f1e3a5c08d58657dddccdeedbe5d6e8c16d891 (patch)
tree448ae6f8f46e44f0ded1989e132bd83445d7b448 /src/gpu/GrTextureProxy.cpp
parentb1305c03c3edc90d22a4a45b773ca895097422a2 (diff)
Allow GrSurfaceProxy-derived classes to use flags when instantiating
In some instances proxies must be created that, when instantiated, have no pending IO. This is split out of: (Add per-Flush callback to GrDrawingManager) https://skia-review.googlesource.com/c/8679/ Change-Id: I68b5504d35ad436a4ae737ac4bb3c171fc9a5826 Reviewed-on: https://skia-review.googlesource.com/8988 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrTextureProxy.cpp')
-rw-r--r--src/gpu/GrTextureProxy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrTextureProxy.cpp b/src/gpu/GrTextureProxy.cpp
index 77a8402dbe..9a65140816 100644
--- a/src/gpu/GrTextureProxy.cpp
+++ b/src/gpu/GrTextureProxy.cpp
@@ -10,8 +10,8 @@
#include "GrTextureProvider.h"
GrTextureProxy::GrTextureProxy(const GrSurfaceDesc& srcDesc, SkBackingFit fit, SkBudgeted budgeted,
- const void* srcData, size_t /*rowBytes*/)
- : INHERITED(srcDesc, fit, budgeted) {
+ const void* srcData, size_t /*rowBytes*/, uint32_t flags)
+ : INHERITED(srcDesc, fit, budgeted, flags) {
SkASSERT(!srcData); // currently handled in Make()
}