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

Unified Diff: ui/gfx/gl/gl_surface.cc

Issue 8566041: Allow GLSurface to indicate that it supports a specific extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gpu_unittests. Created 9 years, 1 month 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 | « ui/gfx/gl/gl_surface.h ('k') | ui/gfx/gl/gl_surface_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_surface.cc
diff --git a/ui/gfx/gl/gl_surface.cc b/ui/gfx/gl/gl_surface.cc
index 1064878d5300f53b02851114706b182690936145..9276d00d6d061a814d64ac3dd5b749e1d9cab7c6 100644
--- a/ui/gfx/gl/gl_surface.cc
+++ b/ui/gfx/gl/gl_surface.cc
@@ -90,12 +90,13 @@ bool GLSurface::Resize(const gfx::Size& size) {
return false;
}
-unsigned int GLSurface::GetBackingFrameBufferObject() {
- return 0;
+std::string GLSurface::GetExtensions() {
+ DCHECK_EQ(GetCurrent(), this);
+ return std::string("");
}
-bool GLSurface::SupportsPostSubBuffer() {
- return false;
+unsigned int GLSurface::GetBackingFrameBufferObject() {
+ return 0;
}
bool GLSurface::PostSubBuffer(int x, int y, int width, int height) {
« no previous file with comments | « ui/gfx/gl/gl_surface.h ('k') | ui/gfx/gl/gl_surface_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698