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

Unified Diff: gm/SkLinearBitmapPipelineGM.cpp

Issue 1719333002: tile spans (Closed) Base URL: https://skia.googlesource.com/skia.git@code-organization-speed
Patch Set: Address remaining comments. Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkLinearBitmapPipeline.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/SkLinearBitmapPipelineGM.cpp
diff --git a/gm/SkLinearBitmapPipelineGM.cpp b/gm/SkLinearBitmapPipelineGM.cpp
index 74068179ba74a23ffc8f7f9a882b0e8d8cf231d7..6b354df9470bebbddf9fc6b8711a36e31c421749 100644
--- a/gm/SkLinearBitmapPipelineGM.cpp
+++ b/gm/SkLinearBitmapPipelineGM.cpp
@@ -143,7 +143,7 @@ static void draw_rect_none(SkCanvas* canvas, const SkRect& r, SkColor c) {
/*
* Test SkXfer4fProcs directly for src-over, comparing them to current SkColor blits.
*/
-DEF_SIMPLE_GM(linear_pipeline, canvas, 580, 1400) {
+DEF_SIMPLE_GM(linear_pipeline, canvas, 580, 2200) {
const int IW = 50;
const SkScalar W = IW;
const SkScalar H = 100;
@@ -156,14 +156,20 @@ DEF_SIMPLE_GM(linear_pipeline, canvas, 580, 1400) {
canvas->translate(20, 20);
SkMatrix mi = SkMatrix::I();
+ SkMatrix mlr;
+ mlr.setScale(-1.0f, 1.0f, 20, 0.0f);
SkMatrix mt;
mt.setTranslate(8, 8);
+ SkMatrix mt2;
+ mt2.setTranslate(-18, -18);
SkMatrix ms;
ms.setScale(2.7f, 2.7f);
+ SkMatrix ms2;
+ ms2.setScale(-0.2f, 0.2f);
SkMatrix mr;
mr.setRotate(10);
- const SkMatrix* mats[] = {nullptr, &mi, &mt, &ms, &mr};
+ const SkMatrix* mats[] = {nullptr, &mi, &mlr, &mt, &mt2, &ms, &ms2, &mr};
const SkRect r = SkRect::MakeWH(W, H);
bool useBilerp = false;
« no previous file with comments | « no previous file | src/core/SkLinearBitmapPipeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698