| Index: include/gpu/GrTextureProvider.h
|
| diff --git a/include/gpu/GrTextureProvider.h b/include/gpu/GrTextureProvider.h
|
| index e75589ec97ab030c69d6795c6b0e3a334f280e9a..3fa359d19a984ab92ef3029239f40d85bf2a6fd3 100644
|
| --- a/include/gpu/GrTextureProvider.h
|
| +++ b/include/gpu/GrTextureProvider.h
|
| @@ -29,11 +29,11 @@
|
| * implies tightly packed rows. For compressed pixel configs, this
|
| * field is ignored.
|
| */
|
| - GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, const void* srcData,
|
| + GrTexture* createTexture(const GrSurfaceDesc& desc, bool budgeted, const void* srcData,
|
| size_t rowBytes);
|
|
|
| /** Shortcut for creating a texture with no initial data to upload. */
|
| - GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted) {
|
| + GrTexture* createTexture(const GrSurfaceDesc& desc, bool budgeted) {
|
| return this->createTexture(desc, budgeted, NULL, 0);
|
| }
|
|
|
| @@ -73,7 +73,7 @@
|
| if (kApprox_ScratchTexMatch == match) {
|
| return this->createApproxTexture(desc);
|
| } else {
|
| - return this->createTexture(desc, SkBudgeted::kYes);
|
| + return this->createTexture(desc, true);
|
| }
|
| }
|
|
|
|
|