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

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

Issue 23904003: Remove GrRefCnt.h in favor of SkRefCnt.h (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rm GrRefCnt.h Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/gpu/GrGpu.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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 struct StencilPath : GrNoncopyable { 101 struct StencilPath : GrNoncopyable {
102 StencilPath(); 102 StencilPath();
103 103
104 SkAutoTUnref<const GrPath> fPath; 104 SkAutoTUnref<const GrPath> fPath;
105 SkStrokeRec fStroke; 105 SkStrokeRec fStroke;
106 SkPath::FillType fFill; 106 SkPath::FillType fFill;
107 }; 107 };
108 108
109 struct Clear : GrNoncopyable { 109 struct Clear : GrNoncopyable {
110 Clear() : fRenderTarget(NULL) {} 110 Clear() : fRenderTarget(NULL) {}
111 ~Clear() { GrSafeUnref(fRenderTarget); } 111 ~Clear() { SkSafeUnref(fRenderTarget); }
112 112
113 SkIRect fRect; 113 SkIRect fRect;
114 GrColor fColor; 114 GrColor fColor;
115 GrRenderTarget* fRenderTarget; 115 GrRenderTarget* fRenderTarget;
116 }; 116 };
117 117
118 struct CopySurface : GrNoncopyable { 118 struct CopySurface : GrNoncopyable {
119 SkAutoTUnref<GrSurface> fDst; 119 SkAutoTUnref<GrSurface> fDst;
120 SkAutoTUnref<GrSurface> fSrc; 120 SkAutoTUnref<GrSurface> fSrc;
121 SkIRect fSrcRect; 121 SkIRect fSrcRect;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 virtual bool isIssued(uint32_t drawID) { return drawID != fDrawID; } 227 virtual bool isIssued(uint32_t drawID) { return drawID != fDrawID; }
228 228
229 bool fFlushing; 229 bool fFlushing;
230 uint32_t fDrawID; 230 uint32_t fDrawID;
231 231
232 typedef GrDrawTarget INHERITED; 232 typedef GrDrawTarget INHERITED;
233 }; 233 };
234 234
235 #endif 235 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrGpu.cpp ('k') | src/gpu/GrInOrderDrawBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698