Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: cc/layer_texture_sub_image.h

Issue 11111005: Remove GraphicsContext3D:: stubs from cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/io_surface_layer_impl.cc ('k') | cc/layer_texture_sub_image.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_texture_sub_image.h
diff --git a/cc/layer_texture_sub_image.h b/cc/layer_texture_sub_image.h
index 6d84427af5770a4f92d88eafcc421d70c0a4727d..35bb6f4b8d033a7b9f0984e3cfb5d7c5d28c0a21 100644
--- a/cc/layer_texture_sub_image.h
+++ b/cc/layer_texture_sub_image.h
@@ -6,7 +6,7 @@
#define LayerTextureSubImage_h
#include "base/memory/scoped_ptr.h"
-#include "GraphicsTypes3D.h"
+#include "third_party/khronos/GLES2/gl2.h"
#include "IntRect.h"
#include "IntSize.h"
@@ -23,15 +23,15 @@ public:
void upload(const uint8_t* image, const IntRect& imageRect,
const IntRect& sourceRect, const IntSize& destOffset,
- GC3Denum format, WebKit::WebGraphicsContext3D*);
+ GLenum format, WebKit::WebGraphicsContext3D*);
private:
void uploadWithTexSubImage(const uint8_t* image, const IntRect& imageRect,
const IntRect& sourceRect, const IntSize& destOffset,
- GC3Denum format, WebKit::WebGraphicsContext3D*);
+ GLenum format, WebKit::WebGraphicsContext3D*);
void uploadWithMapTexSubImage(const uint8_t* image, const IntRect& imageRect,
const IntRect& sourceRect, const IntSize& destOffset,
- GC3Denum format, WebKit::WebGraphicsContext3D*);
+ GLenum format, WebKit::WebGraphicsContext3D*);
bool m_useMapTexSubImage;
size_t m_subImageSize;
« no previous file with comments | « cc/io_surface_layer_impl.cc ('k') | cc/layer_texture_sub_image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698