aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGpu.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-08-13 05:19:14 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-13 05:19:14 -0700
commit6e83ac778f8f90939abe3aee3ea865428dff592f (patch)
tree570d621d7297f6100da1c4c1f65ededd4c3f9297 /src/gpu/GrGpu.cpp
parentcc1229c9d5e57b45305ba8f99ae33e92db0032bc (diff)
Defer flushes if kPreferNoIO is specified
Prior to this patch clients who were solely uploading to textures (e.g., SW Mask Mgr) would cause extra flushes b.c., even though kPreferNoIO was being specified, resources with pending IO would still be returned even though there was plenty of space in the resource cache. Review URL: https://codereview.chromium.org/1286203002
Diffstat (limited to 'src/gpu/GrGpu.cpp')
-rw-r--r--src/gpu/GrGpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
index 9c468e7f42..8c58321eb6 100644
--- a/src/gpu/GrGpu.cpp
+++ b/src/gpu/GrGpu.cpp
@@ -79,7 +79,7 @@ GrTexture* GrGpu::createTexture(const GrSurfaceDesc& origDesc, bool budgeted,
return NULL;
}
- // We currently not support multisampled textures
+ // We currently do not support multisampled textures
if (!isRT && desc.fSampleCnt > 0) {
return NULL;
}