| Index: cc/scheduler/texture_uploader.h
|
| diff --git a/cc/scheduler/texture_uploader.h b/cc/scheduler/texture_uploader.h
|
| index 1457bedb7277d190d58fe73f7bceeaa5d128eedc..a131ba04f9e204561c60a126909f70254c9b87ac 100644
|
| --- a/cc/scheduler/texture_uploader.h
|
| +++ b/cc/scheduler/texture_uploader.h
|
| @@ -11,7 +11,7 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "cc/base/cc_export.h"
|
| #include "cc/base/scoped_ptr_deque.h"
|
| -#include "third_party/khronos/GLES2/gl2.h"
|
| +#include "cc/resources/resource_provider.h"
|
|
|
| namespace WebKit { class WebGraphicsContext3D; }
|
|
|
| @@ -46,7 +46,7 @@ class CC_EXPORT TextureUploader {
|
| gfx::Rect content_rect,
|
| gfx::Rect source_rect,
|
| gfx::Vector2d dest_offset,
|
| - GLenum format,
|
| + ResourceFormat format,
|
| gfx::Size size);
|
|
|
| void Flush();
|
| @@ -97,12 +97,12 @@ class CC_EXPORT TextureUploader {
|
| gfx::Rect image_rect,
|
| gfx::Rect source_rect,
|
| gfx::Vector2d dest_offset,
|
| - GLenum format);
|
| + ResourceFormat format);
|
| void UploadWithMapTexSubImage(const uint8* image,
|
| gfx::Rect image_rect,
|
| gfx::Rect source_rect,
|
| gfx::Vector2d dest_offset,
|
| - GLenum format);
|
| + ResourceFormat format);
|
|
|
| WebKit::WebGraphicsContext3D* context_;
|
| ScopedPtrDeque<Query> pending_queries_;
|
|
|