Home | History | Annotate | Download | only in gm

Lines Matching defs:bitmap

22         return SkString("bitmap-image-srgb-legacy");
38 // Create matching bitmap.
40 SkBitmap bitmap;
41 bitmap.allocPixels(codec->getInfo());
42 codec->getPixels(codec->getInfo(), bitmap.getPixels(), bitmap.rowBytes());
45 // The top two squares show an sRGB image, then bitmap, drawn to a legacy canvas.
52 legacyCanvas.drawBitmap(bitmap, 0.0f, 0.0f, nullptr);
56 // The bottom two squares show an sRGB image, then bitmap, drawn to a srgb canvas.
63 srgbCanvas.drawBitmap(bitmap, 0.0f, 0.0f, nullptr);