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

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

Issue 1315563003: GrPathRangeBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix init order warning Created 5 years, 3 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/GrGeometryProcessor.h ('k') | src/gpu/GrInOrderCommandBuilder.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 #ifndef GrImmediateDrawTarget_DEFINED 8 #ifndef GrImmediateDrawTarget_DEFINED
9 #define GrImmediateDrawTarget_DEFINED 9 #define GrImmediateDrawTarget_DEFINED
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 ~GrImmediateDrawTarget() override; 27 ~GrImmediateDrawTarget() override;
28 28
29 protected: 29 protected:
30 void onDrawBatch(GrBatch*) override; 30 void onDrawBatch(GrBatch*) override;
31 31
32 private: 32 private:
33 void onReset() override; 33 void onReset() override;
34 void onFlush() override; 34 void onFlush() override;
35 35
36 void onDrawPaths(const GrPathProcessor*,
37 const GrPathRange*,
38 const void* indices,
39 PathIndexType,
40 const float transformValues[],
41 PathTransformType,
42 int count,
43 const GrStencilSettings&,
44 const PipelineInfo&) override {
45 SkFAIL("Only batch implemented\n");
46 }
47
48 bool isIssued(uint32_t drawID) override { return drawID != fDrawID; }
49
50 uint32_t fDrawID; 36 uint32_t fDrawID;
51 37
52 typedef GrClipTarget INHERITED; 38 typedef GrClipTarget INHERITED;
53 }; 39 };
54 40
55 #endif 41 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrGeometryProcessor.h ('k') | src/gpu/GrInOrderCommandBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698