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

Unified Diff: cc/video_layer_impl.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/tiled_layer_impl.cc ('k') | cc/video_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/video_layer_impl.h
diff --git a/cc/video_layer_impl.h b/cc/video_layer_impl.h
index 677c4ef417bbd73381bc2e7cbd7051362be4f1a0..6b97643cf2b2032ff01de08ee36b956a5cac6501 100644
--- a/cc/video_layer_impl.h
+++ b/cc/video_layer_impl.h
@@ -7,7 +7,7 @@
#include "base/synchronization/lock.h"
#include "CCLayerImpl.h"
-#include "GraphicsContext3D.h"
+#include "third_party/khronos/GLES2/gl2.h"
#include "IntSize.h"
#include <public/WebTransformationMatrix.h>
#include <public/WebVideoFrameProvider.h>
@@ -49,7 +49,7 @@ public:
struct FramePlane {
CCResourceProvider::ResourceId resourceId;
IntSize size;
- GC3Denum format;
+ GLenum format;
IntSize visibleSize;
FramePlane() : resourceId(0) { }
@@ -77,7 +77,7 @@ private:
WebKit::WebTransformationMatrix m_streamTextureMatrix;
WebKit::WebVideoFrame* m_frame;
- GC3Denum m_format;
+ GLenum m_format;
CCResourceProvider::ResourceId m_externalTextureResource;
// Each index in this array corresponds to a plane in WebKit::WebVideoFrame.
« no previous file with comments | « cc/tiled_layer_impl.cc ('k') | cc/video_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698