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

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

Issue 1825393002: Consolidate GPU buffer implementations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: asserts Created 4 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 unified diff | Download patch
« no previous file with comments | « src/gpu/GrDrawTarget.h ('k') | src/gpu/GrGeometryBuffer.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 /* 2 /*
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "GrDrawTarget.h" 9 #include "GrDrawTarget.h"
10 10
11 #include "GrAuditTrail.h" 11 #include "GrAuditTrail.h"
12 #include "GrCaps.h" 12 #include "GrCaps.h"
13 #include "GrGpu.h" 13 #include "GrGpu.h"
14 #include "GrPath.h" 14 #include "GrPath.h"
15 #include "GrPipeline.h" 15 #include "GrPipeline.h"
16 #include "GrMemoryPool.h" 16 #include "GrMemoryPool.h"
17 #include "GrRenderTarget.h" 17 #include "GrRenderTarget.h"
18 #include "GrResourceProvider.h" 18 #include "GrResourceProvider.h"
19 #include "GrRenderTargetPriv.h" 19 #include "GrRenderTargetPriv.h"
20 #include "GrSurfacePriv.h" 20 #include "GrSurfacePriv.h"
21 #include "GrTexture.h" 21 #include "GrTexture.h"
22 #include "GrVertexBuffer.h"
23 #include "gl/GrGLRenderTarget.h" 22 #include "gl/GrGLRenderTarget.h"
24 23
25 #include "SkStrokeRec.h" 24 #include "SkStrokeRec.h"
26 25
27 #include "batches/GrClearBatch.h" 26 #include "batches/GrClearBatch.h"
28 #include "batches/GrCopySurfaceBatch.h" 27 #include "batches/GrCopySurfaceBatch.h"
29 #include "batches/GrDiscardBatch.h" 28 #include "batches/GrDiscardBatch.h"
30 #include "batches/GrDrawBatch.h" 29 #include "batches/GrDrawBatch.h"
31 #include "batches/GrDrawPathBatch.h" 30 #include "batches/GrDrawPathBatch.h"
32 #include "batches/GrRectBatchFactory.h" 31 #include "batches/GrRectBatchFactory.h"
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 } 599 }
601 600
602 return true; 601 return true;
603 } 602 }
604 603
605 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRend erTarget* rt) { 604 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRend erTarget* rt) {
606 GrBatch* batch = new GrClearStencilClipBatch(rect, insideClip, rt); 605 GrBatch* batch = new GrClearStencilClipBatch(rect, insideClip, rt);
607 this->recordBatch(batch); 606 this->recordBatch(batch);
608 batch->unref(); 607 batch->unref();
609 } 608 }
OLDNEW
« no previous file with comments | « src/gpu/GrDrawTarget.h ('k') | src/gpu/GrGeometryBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698