OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 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 "SamplePipeControllers.h" | 9 #include "SamplePipeControllers.h" |
10 #include "SkBitmap.h" | 10 #include "SkBitmap.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 PipeController pipeController(&canvas); | 51 PipeController pipeController(&canvas); |
52 SkGPipeWriter writer; | 52 SkGPipeWriter writer; |
53 SkCanvas* pipeCanvas = writer.startRecording(&pipeController); | 53 SkCanvas* pipeCanvas = writer.startRecording(&pipeController); |
54 testDrawingBadBitmap(pipeCanvas); | 54 testDrawingBadBitmap(pipeCanvas); |
55 writer.endRecording(); | 55 writer.endRecording(); |
56 | 56 |
57 testDrawingAfterEndRecording(&canvas); | 57 testDrawingAfterEndRecording(&canvas); |
58 } | 58 } |
59 | 59 |
60 #include "TestClassDef.h" | 60 #include "TestClassDef.h" |
61 DEFINE_TESTCLASS("PipeTest", PipeTestClass, test_pipeTests) | 61 DEFINE_TESTCLASS_SHORT(test_pipeTests) |
OLD | NEW |