| Index: cc/resources/resource_provider.h
|
| diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
|
| index 95a10d57f3af884d5fc7fc03ccab2d51bf10b1e3..3a8d2e0f9ec0325ae56e64de274f6caa3ac073a9 100644
|
| --- a/cc/resources/resource_provider.h
|
| +++ b/cc/resources/resource_provider.h
|
| @@ -99,6 +99,7 @@ class CC_EXPORT ResourceProvider {
|
| return use_rgba_4444_texture_format_ ? RGBA_4444 : best_texture_format_;
|
| }
|
| ResourceFormat best_texture_format() const { return best_texture_format_; }
|
| + ResourceFormat yuv_resource_format() const { return yuv_resource_format_; }
|
| bool use_sync_query() const { return use_sync_query_; }
|
| size_t num_resources() const { return resources_.size(); }
|
|
|
| @@ -578,6 +579,7 @@ class CC_EXPORT ResourceProvider {
|
| bool use_texture_format_bgra_;
|
| bool use_texture_usage_hint_;
|
| bool use_compressed_texture_etc1_;
|
| + ResourceFormat yuv_resource_format_;
|
| scoped_ptr<TextureUploader> texture_uploader_;
|
| int max_texture_size_;
|
| ResourceFormat best_texture_format_;
|
|
|