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

Unified Diff: content/common/gpu/client/gl_helper.h

Issue 12892005: Implement client side PBOs for glReadPixel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't restore bindings Created 7 years, 9 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
Index: content/common/gpu/client/gl_helper.h
diff --git a/content/common/gpu/client/gl_helper.h b/content/common/gpu/client/gl_helper.h
index 40e25ebe716b955c99507f0e373fa02d24ea7a61..aa0b61b4030b1e99139ecae1484568d02e63822f 100644
--- a/content/common/gpu/client/gl_helper.h
+++ b/content/common/gpu/client/gl_helper.h
@@ -24,8 +24,7 @@ namespace content {
// interfaces.
class GLHelper {
public:
- GLHelper(WebKit::WebGraphicsContext3D* context,
- WebKit::WebGraphicsContext3D* context_for_thread);
+ GLHelper(WebKit::WebGraphicsContext3D* context);
virtual ~GLHelper();
WebKit::WebGraphicsContext3D* context() const;
@@ -82,12 +81,8 @@ class GLHelper {
void InitCopyTextToImpl();
WebKit::WebGraphicsContext3D* context_;
- WebKit::WebGraphicsContext3D* context_for_thread_;
scoped_ptr<CopyTextureToImpl> copy_texture_to_impl_;
- // The number of all GLHelper instances.
- static base::subtle::Atomic32 count_;
-
DISALLOW_COPY_AND_ASSIGN(GLHelper);
};

Powered by Google App Engine
This is Rietveld 408576698