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

Unified Diff: cc/texture_copier.h

Issue 11150025: Patch from https://codereview.chromium.org/11111005/ without actual file deletes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 548c6f190a9b229523801341fc3c454b207d15d8..b76a910f7c1abd55e5f16c723fb5518493db352d 100644
--- a/cc/texture_copier.h
+++ b/cc/texture_copier.h
@@ -6,7 +6,8 @@
#define TextureCopier_h
#include "base/basictypes.h"
-#include "GraphicsContext3D.h"
+#include "third_party/khronos/GLES2/gl2.h"
+#include "IntSize.h"
#include "ProgramBinding.h"
#include "ShaderChromium.h"
#include <wtf/OwnPtr.h>
@@ -17,7 +18,6 @@ class WebGraphicsContext3D;
}
namespace cc {
-class IntSize;
class TextureCopier {
public:
@@ -53,8 +53,8 @@ private:
typedef ProgramBinding<VertexShaderPosTexIdentity, FragmentShaderRGBATex> BlitProgram;
WebKit::WebGraphicsContext3D* m_context;
- Platform3DObject m_fbo;
- Platform3DObject m_positionBuffer;
+ GLuint m_fbo;
+ GLuint m_positionBuffer;
OwnPtr<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