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

Side by Side Diff: tests/WritePixelsTest.cpp

Issue 1204433002: Begin kLegacyFontHost_InitType cleanup (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add dox Created 5 years, 6 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 | « tests/SkImageTest.cpp ('k') | no next file » | 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 2011 Google Inc. 2 * Copyright 2011 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 #include "SkBitmapDevice.h"
9 #include "SkCanvas.h" 8 #include "SkCanvas.h"
10 #include "SkColorPriv.h" 9 #include "SkColorPriv.h"
11 #include "SkMathPriv.h" 10 #include "SkMathPriv.h"
12 #include "SkRegion.h" 11 #include "SkRegion.h"
13 #include "SkSurface.h" 12 #include "SkSurface.h"
14 #include "Test.h" 13 #include "Test.h"
15 #include "sk_tool_utils.h" 14 #include "sk_tool_utils.h"
16 15
17 #if SK_SUPPORT_GPU 16 #if SK_SUPPORT_GPU
18 #include "GrContextFactory.h" 17 #include "GrContextFactory.h"
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 SkIRect writeRect = SkIRect::MakeXYWH(rect.fLeft, rect.f Top, 469 SkIRect writeRect = SkIRect::MakeXYWH(rect.fLeft, rect.f Top,
471 bmp.width(), bmp.h eight()); 470 bmp.width(), bmp.h eight());
472 bool intersects = SkIRect::Intersects(canvasRect, writeR ect) ; 471 bool intersects = SkIRect::Intersects(canvasRect, writeR ect) ;
473 REPORTER_ASSERT(reporter, intersects == (idBefore != idA fter)); 472 REPORTER_ASSERT(reporter, intersects == (idBefore != idA fter));
474 } 473 }
475 } 474 }
476 } 475 }
477 } 476 }
478 } 477 }
479 } 478 }
OLDNEW
« no previous file with comments | « tests/SkImageTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698