OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkBitmap.h" | 8 #include "SkBitmap.h" |
9 #include "SkBitmapCache.h" | 9 #include "SkBitmapCache.h" |
10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 | 492 |
493 SkImage* SkImage::NewTextureFromPixmap(GrContext* ctx, const SkPixmap& pmap, SkB
udgeted budgeted) { | 493 SkImage* SkImage::NewTextureFromPixmap(GrContext* ctx, const SkPixmap& pmap, SkB
udgeted budgeted) { |
494 return MakeTextureFromPixmap(ctx, pmap, budgeted).release(); | 494 return MakeTextureFromPixmap(ctx, pmap, budgeted).release(); |
495 } | 495 } |
496 | 496 |
497 SkImage* SkImage::NewFromDeferredTextureImageData(GrContext* ctx, const void* da
ta, | 497 SkImage* SkImage::NewFromDeferredTextureImageData(GrContext* ctx, const void* da
ta, |
498 SkBudgeted budgeted) { | 498 SkBudgeted budgeted) { |
499 return MakeFromDeferredTextureImageData(ctx, data, budgeted).release(); | 499 return MakeFromDeferredTextureImageData(ctx, data, budgeted).release(); |
500 } | 500 } |
501 #endif | 501 #endif |
| 502 |
| 503 sk_sp<SkImage> MakeTextureFromMipMap(GrContext*, const SkImageInfo&, const GrMip
Level* texels, |
| 504 int mipLevelCount, SkBudgeted) { |
| 505 return nullptr; |
| 506 } |
OLD | NEW |