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

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

Issue 1831133004: Revert of Consolidate GPU buffer implementations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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"
22 #include "gl/GrGLRenderTarget.h" 23 #include "gl/GrGLRenderTarget.h"
23 24
24 #include "SkStrokeRec.h" 25 #include "SkStrokeRec.h"
25 26
26 #include "batches/GrClearBatch.h" 27 #include "batches/GrClearBatch.h"
27 #include "batches/GrCopySurfaceBatch.h" 28 #include "batches/GrCopySurfaceBatch.h"
28 #include "batches/GrDiscardBatch.h" 29 #include "batches/GrDiscardBatch.h"
29 #include "batches/GrDrawBatch.h" 30 #include "batches/GrDrawBatch.h"
30 #include "batches/GrDrawPathBatch.h" 31 #include "batches/GrDrawPathBatch.h"
31 #include "batches/GrRectBatchFactory.h" 32 #include "batches/GrRectBatchFactory.h"
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 } 600 }
600 601
601 return true; 602 return true;
602 } 603 }
603 604
604 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRend erTarget* rt) { 605 void GrDrawTarget::clearStencilClip(const SkIRect& rect, bool insideClip, GrRend erTarget* rt) {
605 GrBatch* batch = new GrClearStencilClipBatch(rect, insideClip, rt); 606 GrBatch* batch = new GrClearStencilClipBatch(rect, insideClip, rt);
606 this->recordBatch(batch); 607 this->recordBatch(batch);
607 batch->unref(); 608 batch->unref();
608 } 609 }
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