Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Unified Diff: src/gpu/GrSWMaskHelper.cpp

Issue 19789006: Fix texture allocation in SWMaskHelper (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Update for code review comments Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrGpu.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrSWMaskHelper.cpp
===================================================================
--- src/gpu/GrSWMaskHelper.cpp (revision 10193)
+++ src/gpu/GrSWMaskHelper.cpp (working copy)
@@ -144,8 +144,6 @@
GrDrawState::AutoRenderTargetRestore artr(fContext->getGpu()->drawState(),
texture->asRenderTarget());
- fContext->getGpu()->clear(NULL, GrColorPackRGBA(alpha, alpha, alpha, alpha));
-
texture->writePixels(0, 0, fBM.width(), fBM.height(),
bsalomon 2013/07/19 17:42:28 ... up to this line.
robertphillips 2013/07/19 17:54:47 You are correct - done.
kAlpha_8_GrPixelConfig,
fBM.getPixels(), fBM.rowBytes());
« no previous file with comments | « src/gpu/GrGpu.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698