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

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

Issue 12531015: Adds local coords to GrEffect system. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrInOrderDrawBuffer.cpp » ('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 2011 Google Inc. 3 * Copyright 2011 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 9
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 bool isFlushing() const { return fFlushing; } 71 bool isFlushing() const { return fFlushing; }
72 72
73 // overrides from GrDrawTarget 73 // overrides from GrDrawTarget
74 virtual bool geometryHints(int* vertexCount, 74 virtual bool geometryHints(int* vertexCount,
75 int* indexCount) const SK_OVERRIDE; 75 int* indexCount) const SK_OVERRIDE;
76 virtual void clear(const GrIRect* rect, 76 virtual void clear(const GrIRect* rect,
77 GrColor color, 77 GrColor color,
78 GrRenderTarget* renderTarget = NULL) SK_OVERRIDE; 78 GrRenderTarget* renderTarget = NULL) SK_OVERRIDE;
79 virtual void drawRect(const GrRect& rect, 79 virtual void drawRect(const GrRect& rect,
80 const SkMatrix* matrix, 80 const SkMatrix* matrix,
81 const GrRect* srcRect, 81 const GrRect* localRect,
82 const SkMatrix* srcMatrix, 82 const SkMatrix* localMatrix) SK_OVERRIDE;
83 int stage) SK_OVERRIDE;
84 83
85 protected: 84 protected:
86 virtual void clipWillBeSet(const GrClipData* newClip) SK_OVERRIDE; 85 virtual void clipWillBeSet(const GrClipData* newClip) SK_OVERRIDE;
87 86
88 private: 87 private:
89 enum Cmd { 88 enum Cmd {
90 kDraw_Cmd = 1, 89 kDraw_Cmd = 1,
91 kStencilPath_Cmd = 2, 90 kStencilPath_Cmd = 2,
92 kSetState_Cmd = 3, 91 kSetState_Cmd = 3,
93 kSetClip_Cmd = 4, 92 kSetClip_Cmd = 4,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 size_t fUsedPoolIndexBytes; 202 size_t fUsedPoolIndexBytes;
204 }; 203 };
205 SkSTArray<kGeoPoolStatePreAllocCnt, GeometryPoolState> fGeoPoolStateStack; 204 SkSTArray<kGeoPoolStatePreAllocCnt, GeometryPoolState> fGeoPoolStateStack;
206 205
207 bool fFlushing; 206 bool fFlushing;
208 207
209 typedef GrDrawTarget INHERITED; 208 typedef GrDrawTarget INHERITED;
210 }; 209 };
211 210
212 #endif 211 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrInOrderDrawBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698