| Index: cc/scheduler/texture_uploader.h
|
| diff --git a/cc/scheduler/texture_uploader.h b/cc/scheduler/texture_uploader.h
|
| index 1457bedb7277d190d58fe73f7bceeaa5d128eedc..4b8c764dce244cbeb219b55c7eb92942d56aed63 100644
|
| --- a/cc/scheduler/texture_uploader.h
|
| +++ b/cc/scheduler/texture_uploader.h
|
| @@ -28,9 +28,13 @@ class CC_EXPORT TextureUploader {
|
| static scoped_ptr<TextureUploader> Create(
|
| WebKit::WebGraphicsContext3D* context,
|
| bool use_map_tex_sub_image,
|
| - bool use_shallow_flush) {
|
| + bool use_shallow_flush,
|
| + bool use_16_bit_textures) {
|
| return make_scoped_ptr(
|
| - new TextureUploader(context, use_map_tex_sub_image, use_shallow_flush));
|
| + new TextureUploader(context,
|
| + use_map_tex_sub_image,
|
| + use_shallow_flush,
|
| + use_16_bit_textures));
|
| }
|
| ~TextureUploader();
|
|
|
| @@ -87,7 +91,8 @@ class CC_EXPORT TextureUploader {
|
|
|
| TextureUploader(WebKit::WebGraphicsContext3D* context,
|
| bool use_map_tex_sub_image,
|
| - bool use_shallow_flush);
|
| + bool use_shallow_flush,
|
| + bool use_16_bit_textures);
|
|
|
| void BeginQuery();
|
| void EndQuery();
|
| @@ -116,6 +121,7 @@ class CC_EXPORT TextureUploader {
|
|
|
| bool use_shallow_flush_;
|
| size_t num_texture_uploads_since_last_flush_;
|
| + bool use_16_bit_textures_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TextureUploader);
|
| };
|
|
|