summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gl/gl_surface.cc
diff options
context:
space:
mode:
authorbacker@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 18:41:29 +0000
committerbacker@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 18:41:29 +0000
commit2e7bbf2913e4327aab57e5c1b440c13711241609 (patch)
treeea7833ea4c0d051a0d3ef626c33fd043c4fea2f9 /ui/gfx/gl/gl_surface.cc
parentc620fd59c67f5421b75e865075fb4e9aa2c24f7f (diff)
downloadchromium_src-2e7bbf2913e4327aab57e5c1b440c13711241609.zip
chromium_src-2e7bbf2913e4327aab57e5c1b440c13711241609.tar.gz
chromium_src-2e7bbf2913e4327aab57e5c1b440c13711241609.tar.bz2
Create new GLSurface for cross process image transport.
Currently cross process image transport (on OSX and TOUCH_UI) uses the WebGL code path to render to a texture via FBO. This makes a clean break with path and centralizes the GL context specific IPC communication in one location. By separating from the WebGL code, I was able to avoid wasting a texture attached to the FBO in the decoder (the old code ignored this attachment --- the new code makes no such attachment at the decoder level). As a test of the new architecture, I have also implemented XComposite/GLX_texture_from_pixmap image transport (i.e. it's now possible to use the --use-gl=desktop backend on touch_ui builds). BUG=none TEST=3D CSS and WebGL on TOUCH_UI. Review URL: http://codereview.chromium.org/7395020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93681 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/gl/gl_surface.cc')
-rw-r--r--ui/gfx/gl/gl_surface.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/gfx/gl/gl_surface.cc b/ui/gfx/gl/gl_surface.cc
index 3e4cb7e..6242f80 100644
--- a/ui/gfx/gl/gl_surface.cc
+++ b/ui/gfx/gl/gl_surface.cc
@@ -21,4 +21,7 @@ unsigned int GLSurface::GetBackingFrameBufferObject() {
return 0;
}
+void GLSurface::OnMakeCurrent() {
+}
+
} // namespace gfx