Home | History | Annotate | Download | only in gpu

Lines Matching full:bitmap

19 GrBitmapTextureMaker::GrBitmapTextureMaker(GrContext* context, const SkBitmap& bitmap)
20 : INHERITED(context, bitmap.width(), bitmap.height(), bmp_is_alpha_only(bitmap))
21 , fBitmap(bitmap) {
22 if (!bitmap.isVolatile()) {
23 SkIPoint origin = bitmap.pixelRefOrigin();
24 SkIRect subset = SkIRect::MakeXYWH(origin.fX, origin.fY, bitmap.width(),
25 bitmap.height());
26 GrMakeKeyFromImageID(&fOriginalKey, bitmap.pixelRef()->getGenerationID(), subset);
56 // Destination color space is irrelevant - we always upload the bitmap's contents as-is
71 // Color space doesn't depend on destination color space - it's just whatever is in the bitmap