Searched refs:testCanvas (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/third_party/skia/tests/ |
D | CanvasTest.cpp | 500 SkCanvas* testCanvas = recorder.beginRecording(kWidth, kHeight, NULL, 0); in DrawPictureTestStep() local 501 testCanvas->scale(SkIntToScalar(2), SkIntToScalar(1)); in DrawPictureTestStep() 502 testCanvas->clipRect(kTestRect); in DrawPictureTestStep() 503 testCanvas->drawRect(kTestRect, kTestPaint); in DrawPictureTestStep() 729 SkCanvas* testCanvas = testRecorder.beginRecording(kWidth, kHeight, in TestPictureFlattenedObjectReuse() local 731 testStep->draw(testCanvas, reporter); in TestPictureFlattenedObjectReuse() 733 testStep->draw(testCanvas, reporter); in TestPictureFlattenedObjectReuse() 736 SkPictureRecord* testRecord = static_cast<SkPictureRecord*>(testCanvas); in TestPictureFlattenedObjectReuse()
|
D | PictureTest.cpp | 1104 SkCanvas testCanvas(100, 100); in test_unbalanced_save_restores() local 1105 set_canvas_to_save_count_4(&testCanvas); in test_unbalanced_save_restores() 1107 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() 1125 testCanvas.drawPicture(extraSavePicture); in test_unbalanced_save_restores() 1126 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() 1129 set_canvas_to_save_count_4(&testCanvas); in test_unbalanced_save_restores() 1146 testCanvas.drawPicture(extraRestorePicture); in test_unbalanced_save_restores() 1147 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() 1150 set_canvas_to_save_count_4(&testCanvas); in test_unbalanced_save_restores() 1158 testCanvas.drawPicture(noSavePicture); in test_unbalanced_save_restores() [all …]
|
D | BlurTest.cpp | 143 SkCanvas testCanvas(testBitmap); in test_blur_drawing() local 144 testCanvas.translate(SkIntToScalar(-itest.fLeft), in test_blur_drawing() 146 drawBG(&testCanvas); in test_blur_drawing() 147 testCanvas.drawPath(path, paint); in test_blur_drawing()
|
/external/skia/tests/ |
D | CanvasTest.cpp | 500 SkCanvas* testCanvas = recorder.beginRecording(kWidth, kHeight, NULL, 0); in DrawPictureTestStep() local 501 testCanvas->scale(SkIntToScalar(2), SkIntToScalar(1)); in DrawPictureTestStep() 502 testCanvas->clipRect(kTestRect); in DrawPictureTestStep() 503 testCanvas->drawRect(kTestRect, kTestPaint); in DrawPictureTestStep() 729 SkCanvas* testCanvas = testRecorder.beginRecording(kWidth, kHeight, in TestPictureFlattenedObjectReuse() local 731 testStep->draw(testCanvas, reporter); in TestPictureFlattenedObjectReuse() 733 testStep->draw(testCanvas, reporter); in TestPictureFlattenedObjectReuse() 736 SkPictureRecord* testRecord = static_cast<SkPictureRecord*>(testCanvas); in TestPictureFlattenedObjectReuse()
|
D | PictureTest.cpp | 1104 SkCanvas testCanvas(100, 100); in test_unbalanced_save_restores() local 1105 set_canvas_to_save_count_4(&testCanvas); in test_unbalanced_save_restores() 1107 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() 1125 testCanvas.drawPicture(extraSavePicture); in test_unbalanced_save_restores() 1126 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() 1129 set_canvas_to_save_count_4(&testCanvas); in test_unbalanced_save_restores() 1146 testCanvas.drawPicture(extraRestorePicture); in test_unbalanced_save_restores() 1147 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores() 1150 set_canvas_to_save_count_4(&testCanvas); in test_unbalanced_save_restores() 1158 testCanvas.drawPicture(noSavePicture); in test_unbalanced_save_restores() [all …]
|
D | BlurTest.cpp | 143 SkCanvas testCanvas(testBitmap); in test_blur_drawing() local 144 testCanvas.translate(SkIntToScalar(-itest.fLeft), in test_blur_drawing() 146 drawBG(&testCanvas); in test_blur_drawing() 147 testCanvas.drawPath(path, paint); in test_blur_drawing()
|