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

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

Issue 1243583002: Add support for transformedLocalCoords to GrDefaultGeoProc (Closed) Base URL: https://skia.googlesource.com/skia.git@pipelinetobatch2
Patch Set: tweaks Created 5 years, 4 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/GrPrimitiveProcessor.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 2013 Google Inc. 2 * Copyright 2013 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 GrPathProcessor_DEFINED 8 #ifndef GrPathProcessor_DEFINED
9 #define GrPathProcessor_DEFINED 9 #define GrPathProcessor_DEFINED
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 bool willUseGeoShader() const override { return false; } 48 bool willUseGeoShader() const override { return false; }
49 49
50 virtual void getGLProcessorKey(const GrBatchTracker& bt, 50 virtual void getGLProcessorKey(const GrBatchTracker& bt,
51 const GrGLSLCaps& caps, 51 const GrGLSLCaps& caps,
52 GrProcessorKeyBuilder* b) const override; 52 GrProcessorKeyBuilder* b) const override;
53 53
54 virtual GrGLPrimitiveProcessor* createGLInstance(const GrBatchTracker& bt, 54 virtual GrGLPrimitiveProcessor* createGLInstance(const GrBatchTracker& bt,
55 const GrGLSLCaps& caps) con st override; 55 const GrGLSLCaps& caps) con st override;
56 56
57 bool hasTransformedLocalCoords() const override { return false; }
58
57 private: 59 private:
58 GrPathProcessor(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& l ocalMatrix); 60 GrPathProcessor(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& l ocalMatrix);
59 61
60 bool hasExplicitLocalCoords() const override { return false; } 62 bool hasExplicitLocalCoords() const override { return false; }
61 63
62 GrColor fColor; 64 GrColor fColor;
63 const SkMatrix fViewMatrix; 65 const SkMatrix fViewMatrix;
64 const SkMatrix fLocalMatrix; 66 const SkMatrix fLocalMatrix;
65 67
66 typedef GrPrimitiveProcessor INHERITED; 68 typedef GrPrimitiveProcessor INHERITED;
67 }; 69 };
68 70
69 #endif 71 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrGeometryProcessor.h ('k') | src/gpu/GrPrimitiveProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698