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

Unified Diff: content/common/gpu/texture_image_transport_surface.h

Issue 10916355: Use PBuffer to make TextureImageTransportSurface current. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/texture_image_transport_surface.h
diff --git a/content/common/gpu/texture_image_transport_surface.h b/content/common/gpu/texture_image_transport_surface.h
index 6764fc31651694f487aa5f0ef3fde98b13b7ae05..e3be482f4f625467b624c9677ca9ada69eef20d3 100644
--- a/content/common/gpu/texture_image_transport_surface.h
+++ b/content/common/gpu/texture_image_transport_surface.h
@@ -110,6 +110,10 @@ class TextureImageTransportSurface :
gfx::GLSurfaceHandle handle_;
GpuCommandBufferStub* parent_stub_;
+ // The surface used to make the context current. It's not being rendered into,
+ // since we always bind one of the FBOs.
+ scoped_refptr<GLSurface> surface_;
+
DISALLOW_COPY_AND_ASSIGN(TextureImageTransportSurface);
};

Powered by Google App Engine
This is Rietveld 408576698