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

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

Issue 7021014: GLContext no longer holds a pointer to a GLSurface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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: ui/gfx/gl/gl_context_stub.cc
===================================================================
--- ui/gfx/gl/gl_context_stub.cc (revision 85357)
+++ ui/gfx/gl/gl_context_stub.cc (working copy)
@@ -12,26 +12,17 @@
GLContextStub::~GLContextStub() {
}
-bool GLContextStub::MakeCurrent() {
+bool GLContextStub::MakeCurrent(GLSurface* surface) {
return true;
}
-bool GLContextStub::IsCurrent() {
- return true;
+void GLContextStub::ReleaseCurrent(GLSurface* surface) {
}
-bool GLContextStub::IsOffscreen() {
- return false;
-}
-
-bool GLContextStub::SwapBuffers() {
+bool GLContextStub::IsCurrent(GLSurface* surface) {
return true;
}
-gfx::Size GLContextStub::GetSize() {
- return size_;
-}
-
void* GLContextStub::GetHandle() {
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698