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

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

Issue 24047005: Have multiple plotmgrs, one for each mask format. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: 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 | « no previous file | src/gpu/GrAtlas.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 2010 Google Inc. 3 * Copyright 2010 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 SkASSERT((unsigned)format < kCount_GrMaskFormats); 75 SkASSERT((unsigned)format < kCount_GrMaskFormats);
76 return fTexture[format]; 76 return fTexture[format];
77 } 77 }
78 78
79 // to be called by ~GrAtlas() 79 // to be called by ~GrAtlas()
80 void freePlot(GrMaskFormat format, int x, int y); 80 void freePlot(GrMaskFormat format, int x, int y);
81 81
82 private: 82 private:
83 GrGpu* fGpu; 83 GrGpu* fGpu;
84 GrTexture* fTexture[kCount_GrMaskFormats]; 84 GrTexture* fTexture[kCount_GrMaskFormats];
85 GrPlotMgr* fPlotMgr; 85 GrPlotMgr* fPlotMgr[kCount_GrMaskFormats];
86 }; 86 };
87 87
88 #endif 88 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrAtlas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698