Index: gm/image_pict.cpp |
diff --git a/gm/image_pict.cpp b/gm/image_pict.cpp |
index 968ecda3985d9d6e08adaa28697f911f95e21058..a62ffa0c547fb45099fa8fd585d8e454ce9f468b 100644 |
--- a/gm/image_pict.cpp |
+++ b/gm/image_pict.cpp |
@@ -211,7 +211,7 @@ |
: SkImageGenerator(info) |
, fCtx(SkRef(ctx)) |
{ |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, SkBudgeted::kNo, |
+ SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, SkSurface::kNo_Budgeted, |
info, 0)); |
surface->getCanvas()->clear(0); |
surface->getCanvas()->translate(-100, -100); |
@@ -233,7 +233,7 @@ |
desc.fWidth = subset->width(); |
desc.fHeight = subset->height(); |
- GrTexture* dst = fCtx->textureProvider()->createTexture(desc, SkBudgeted::kNo); |
+ GrTexture* dst = fCtx->textureProvider()->createTexture(desc, false); |
fCtx->copySurface(dst, fTexture, *subset, SkIPoint::Make(0, 0)); |
return dst; |
} |
@@ -326,7 +326,7 @@ |
// No API to draw a GrTexture directly, so we cheat and create a private image subclass |
SkAutoTUnref<SkImage> image(new SkImage_Gpu(cache->info().width(), cache->info().height(), |
cache->uniqueID(), kPremul_SkAlphaType, texture, |
- SkBudgeted::kNo)); |
+ SkSurface::kNo_Budgeted)); |
canvas->drawImage(image, x, y); |
#endif |
} |