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

Unified Diff: cc/texture_copier.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/texture.cc ('k') | cc/texture_copier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_copier.h
diff --git a/cc/texture_copier.h b/cc/texture_copier.h
index 81feb9cfada4013ccb8385e7d104e59dc8db0417..e2b8d17d49d003289a0c6b6fddaef549f5c07856 100644
--- a/cc/texture_copier.h
+++ b/cc/texture_copier.h
@@ -9,15 +9,14 @@
#include "base/memory/scoped_ptr.h"
#include "cc/program_binding.h"
#include "cc/shader.h"
-#include "GraphicsContext3D.h"
#include "IntSize.h"
+#include "third_party/khronos/GLES2/gl2.h"
namespace WebKit {
class WebGraphicsContext3D;
}
namespace cc {
-class IntSize;
class TextureCopier {
public:
@@ -53,8 +52,8 @@ private:
typedef ProgramBinding<VertexShaderPosTexIdentity, FragmentShaderRGBATex> BlitProgram;
WebKit::WebGraphicsContext3D* m_context;
- Platform3DObject m_fbo;
- Platform3DObject m_positionBuffer;
+ GLuint m_fbo;
+ GLuint m_positionBuffer;
scoped_ptr<BlitProgram> m_blitProgram;
bool m_usingBindUniforms;
« no previous file with comments | « cc/texture.cc ('k') | cc/texture_copier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698