From 6e83ac778f8f90939abe3aee3ea865428dff592f Mon Sep 17 00:00:00 2001 From: robertphillips Date: Thu, 13 Aug 2015 05:19:14 -0700 Subject: 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 --- src/gpu/GrGpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/GrGpu.cpp') 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; } -- cgit v1.2.3