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

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

Issue 10984004: Use a singleton 1x1 offscreen surface for all TextureImageTransportSurface instances. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add the 1x1 surface into GpuChannelManager. 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 19ed88c32fb7615465c99c72611cf0ac3d800e15..e8b3405b2dd8546a3ca666055b0de7f9e9b14e48 100644
--- a/content/common/gpu/texture_image_transport_surface.h
+++ b/content/common/gpu/texture_image_transport_surface.h
@@ -110,9 +110,9 @@ class TextureImageTransportSurface :
gfx::GLSurfaceHandle handle_;
GpuCommandBufferStub* parent_stub_;
- // The offscreeb surface used to make the context current. However note that
+ // The offscreen surface used to make the context current. However note that
// the actual rendering is always redirected to an FBO.
- scoped_refptr<GLSurface> surface_;
+ GLSurface* surface_;
piman 2012/09/25 00:12:18 Keep this a refcount - there's no reason not to.
hshi1 2012/09/25 00:26:34 Done.
DISALLOW_COPY_AND_ASSIGN(TextureImageTransportSurface);
};

Powered by Google App Engine
This is Rietveld 408576698