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

Unified Diff: src/gpu/GrContext.cpp

Issue 227603006: hack Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: yet more hackage Created 6 years, 8 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/core/SkPicturePlayback.cpp ('k') | src/gpu/GrDrawState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrContext.cpp
===================================================================
--- src/gpu/GrContext.cpp (revision 14079)
+++ src/gpu/GrContext.cpp (working copy)
@@ -1299,7 +1299,7 @@
ASSERT_OWNED_RESOURCE(target);
if (NULL == target) {
- target = fRenderTarget.get();
+ target = fRenderTarget1.get();
if (NULL == target) {
return false;
}
@@ -1493,7 +1493,7 @@
ASSERT_OWNED_RESOURCE(target);
if (NULL == target) {
- target = fRenderTarget.get();
+ target = fRenderTarget1.get();
if (NULL == target) {
return false;
}
@@ -1625,12 +1625,12 @@
fDrawBuffer->flush();
fLastDrawWasBuffered = kNo_BufferedDraw;
}
- ASSERT_OWNED_RESOURCE(fRenderTarget.get());
+ ASSERT_OWNED_RESOURCE(fRenderTarget1.get());
if (NULL != paint) {
SkASSERT(NULL != are);
SkASSERT(NULL != acf);
are->set(fDrawState);
- fDrawState->setFromPaint(*paint, fViewMatrix, fRenderTarget.get());
+ fDrawState->setFromPaint(*paint, fViewMatrix, fRenderTarget1.get());
#if GR_DEBUG_PARTIAL_COVERAGE_CHECK
if ((paint->hasMask() || 0xff != paint->fCoverage) &&
!fGpu->canApplyCoverage()) {
@@ -1639,7 +1639,7 @@
#endif
} else {
fDrawState->reset(fViewMatrix);
- fDrawState->setRenderTarget(fRenderTarget.get());
+ fDrawState->setRenderTarget(fRenderTarget1.get());
}
GrDrawTarget* target;
if (kYes_BufferedDraw == buffered) {
« no previous file with comments | « src/core/SkPicturePlayback.cpp ('k') | src/gpu/GrDrawState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698