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

Side by Side Diff: src/gpu/gl/GrGLPathProcessor.h

Issue 1333423003: move GrGLPathProcessor back into GrPathProcessor (Closed) Base URL: https://skia.googlesource.com/skia.git@pathgp2
Patch Set: 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/GrPathProcessor.cpp ('k') | src/gpu/gl/GrGLPathProcessor.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2013 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef GrGLPathProcessor_DEFINED
9 #define GrGLPathProcessor_DEFINED
10
11 #include "GrGLPrimitiveProcessor.h"
12
13 class GrPathProcessor;
14 class GrGLPathRendering;
15 class GrGLGpu;
16
17 class GrGLPathProcessor : public GrGLPrimitiveProcessor {
18 public:
19 GrGLPathProcessor();
20
21 static void GenKey(const GrPathProcessor&,
22 const GrGLSLCaps&,
23 GrProcessorKeyBuilder* b);
24
25 void emitCode(EmitArgs&) override;
26
27 void emitTransforms(GrGLGPBuilder*, const TransformsIn&, TransformsOut*);
28
29 void setData(const GrGLProgramDataManager&, const GrPrimitiveProcessor&) ove rride;
30
31 void setTransformData(const GrPrimitiveProcessor&,
32 const GrGLProgramDataManager&,
33 int index,
34 const SkTArray<const GrCoordTransform*, true>& transfo rms) override;
35
36 private:
37 UniformHandle fColorUniform;
38 GrColor fColor;
39
40 typedef GrGLPrimitiveProcessor INHERITED;
41 };
42
43 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrPathProcessor.cpp ('k') | src/gpu/gl/GrGLPathProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698