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

Side by Side Diff: src/gpu/GrImmediateDrawTarget.cpp

Issue 1288963004: ClearStencilClip in GrBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tiny Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « src/gpu/GrImmediateDrawTarget.h ('k') | src/gpu/GrTargetCommands.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "GrImmediateDrawTarget.h" 8 #include "GrImmediateDrawTarget.h"
9 9
10 #include "GrGpu.h" 10 #include "GrGpu.h"
(...skipping 29 matching lines...) Expand all
40 #endif 40 #endif
41 } 41 }
42 42
43 void GrImmediateDrawTarget::onCopySurface(GrSurface* dst, 43 void GrImmediateDrawTarget::onCopySurface(GrSurface* dst,
44 GrSurface* src, 44 GrSurface* src,
45 const SkIRect& srcRect, 45 const SkIRect& srcRect,
46 const SkIPoint& dstPoint) { 46 const SkIPoint& dstPoint) {
47 this->getGpu()->copySurface(dst, src, srcRect, dstPoint); 47 this->getGpu()->copySurface(dst, src, srcRect, dstPoint);
48 } 48 }
49 49
50 void GrImmediateDrawTarget::clearStencilClip(const SkIRect& rect,
51 bool insideClip,
52 GrRenderTarget* renderTarget) {
53 this->getGpu()->clearStencilClip(rect, insideClip, renderTarget);
54 }
55
56 void GrImmediateDrawTarget::onReset() {} 50 void GrImmediateDrawTarget::onReset() {}
57 51
58 void GrImmediateDrawTarget::onFlush() { 52 void GrImmediateDrawTarget::onFlush() {
59 ++fDrawID; 53 ++fDrawID;
60 } 54 }
OLDNEW
« no previous file with comments | « src/gpu/GrImmediateDrawTarget.h ('k') | src/gpu/GrTargetCommands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698