summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gl/gl_context_stub.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/gl/gl_context_stub.cc')
-rw-r--r--ui/gfx/gl/gl_context_stub.cc20
1 files changed, 12 insertions, 8 deletions
diff --git a/ui/gfx/gl/gl_context_stub.cc b/ui/gfx/gl/gl_context_stub.cc
index 6462f61..4154cdd 100644
--- a/ui/gfx/gl/gl_context_stub.cc
+++ b/ui/gfx/gl/gl_context_stub.cc
@@ -6,33 +6,37 @@
namespace gfx {
-StubGLContext::~StubGLContext() {}
+GLContextStub::GLContextStub() {
+}
+
+GLContextStub::~GLContextStub() {
+}
-bool StubGLContext::MakeCurrent() {
+bool GLContextStub::MakeCurrent() {
return true;
}
-bool StubGLContext::IsCurrent() {
+bool GLContextStub::IsCurrent() {
return true;
}
-bool StubGLContext::IsOffscreen() {
+bool GLContextStub::IsOffscreen() {
return false;
}
-bool StubGLContext::SwapBuffers() {
+bool GLContextStub::SwapBuffers() {
return true;
}
-gfx::Size StubGLContext::GetSize() {
+gfx::Size GLContextStub::GetSize() {
return size_;
}
-void* StubGLContext::GetHandle() {
+void* GLContextStub::GetHandle() {
return NULL;
}
-std::string StubGLContext::GetExtensions() {
+std::string GLContextStub::GetExtensions() {
return std::string();
}