OLD | NEW |
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 #include "Test.h" | 9 #include "Test.h" |
10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 bool intersects = SkIRect::Intersects(canvasRect, writeR
ect) ; | 466 bool intersects = SkIRect::Intersects(canvasRect, writeR
ect) ; |
467 REPORTER_ASSERT(reporter, intersects == (idBefore != idA
fter)); | 467 REPORTER_ASSERT(reporter, intersects == (idBefore != idA
fter)); |
468 } | 468 } |
469 } | 469 } |
470 } | 470 } |
471 } | 471 } |
472 } | 472 } |
473 } | 473 } |
474 } | 474 } |
475 | 475 |
476 #ifndef SK_BUILD_FOR_ANDROID | |
477 #include "TestClassDef.h" | 476 #include "TestClassDef.h" |
478 DEFINE_GPUTESTCLASS("WritePixels", WritePixelsTestClass, WritePixelsTest) | 477 DEFINE_GPUTESTCLASS("WritePixels", WritePixelsTestClass, WritePixelsTest) |
479 #endif | |
OLD | NEW |