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

Side by Side Diff: src/gpu/GrRectanizer.cpp

Issue 25584002: Add new skyline Rectanizer (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Remove tab Created 7 years, 2 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/GrAtlas.cpp ('k') | src/gpu/GrRectanizer_skyline.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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 SkASSERT(row->fLoc.fX <= this->width()); 116 SkASSERT(row->fLoc.fX <= this->width());
117 SkASSERT(row->fLoc.fY <= this->height()); 117 SkASSERT(row->fLoc.fY <= this->height());
118 SkASSERT(fNextStripY <= this->height()); 118 SkASSERT(fNextStripY <= this->height());
119 fAreaSoFar += area; 119 fAreaSoFar += area;
120 return true; 120 return true;
121 } 121 }
122 122
123 /////////////////////////////////////////////////////////////////////////////// 123 ///////////////////////////////////////////////////////////////////////////////
124 124
125 GrRectanizer* GrRectanizer::Factory(int width, int height) { 125 // factory is now in GrRectanizer_skyline.cpp
126 return SkNEW_ARGS(GrRectanizerPow2, (width, height)); 126 //GrRectanizer* GrRectanizer::Factory(int width, int height) {
127 } 127 // return SkNEW_ARGS(GrRectanizerPow2, (width, height));
128 //}
OLDNEW
« no previous file with comments | « src/gpu/GrAtlas.cpp ('k') | src/gpu/GrRectanizer_skyline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698