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

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

Issue 2167193002: Revert of Remove DrawFace enum from GrPipelineBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrPathRenderer.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 2010 Google Inc. 2 * Copyright 2010 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 "GrDrawTarget.h" 8 #include "GrDrawTarget.h"
9 9
10 #include "GrAuditTrail.h" 10 #include "GrAuditTrail.h"
11 #include "GrCaps.h" 11 #include "GrCaps.h"
12 #include "GrDrawContext.h" 12 #include "GrDrawContext.h"
13 #include "GrGpu.h" 13 #include "GrGpu.h"
14 #include "GrGpuCommandBuffer.h" 14 #include "GrGpuCommandBuffer.h"
15 #include "GrPath.h" 15 #include "GrPath.h"
16 #include "GrPipeline.h" 16 #include "GrPipeline.h"
17 #include "GrMemoryPool.h" 17 #include "GrMemoryPool.h"
18 #include "GrPipelineBuilder.h"
19 #include "GrRenderTarget.h" 18 #include "GrRenderTarget.h"
20 #include "GrResourceProvider.h" 19 #include "GrResourceProvider.h"
21 #include "GrRenderTargetPriv.h" 20 #include "GrRenderTargetPriv.h"
22 #include "GrStencilAttachment.h" 21 #include "GrStencilAttachment.h"
23 #include "GrSurfacePriv.h" 22 #include "GrSurfacePriv.h"
24 #include "GrTexture.h" 23 #include "GrTexture.h"
25 #include "gl/GrGLRenderTarget.h" 24 #include "gl/GrGLRenderTarget.h"
26 25
27 #include "SkStrokeRec.h" 26 #include "SkStrokeRec.h"
28 27
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 } 592 }
594 } 593 }
595 594
596 /////////////////////////////////////////////////////////////////////////////// 595 ///////////////////////////////////////////////////////////////////////////////
597 596
598 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRend erTarget* rt) { 597 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRend erTarget* rt) {
599 GrBatch* batch = new GrClearStencilClipBatch(rect, insideClip, rt); 598 GrBatch* batch = new GrClearStencilClipBatch(rect, insideClip, rt);
600 this->recordBatch(batch, batch->bounds()); 599 this->recordBatch(batch, batch->bounds());
601 batch->unref(); 600 batch->unref();
602 } 601 }
OLDNEW
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrPathRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698