Index: gpu/command_buffer/service/gl_context_virtual.cc |
diff --git a/gpu/command_buffer/service/gl_context_virtual.cc b/gpu/command_buffer/service/gl_context_virtual.cc |
index 0a151f71997ee3930151899409fba621ab4d0a14..2582d00a754fc193d6cf1bb48e3c6aaad8217e73 100644 |
--- a/gpu/command_buffer/service/gl_context_virtual.cc |
+++ b/gpu/command_buffer/service/gl_context_virtual.cc |
@@ -11,7 +11,6 @@ |
#include "ui/gl/gl_surface.h" |
#include "ui/gl/gpu_preference.h" |
#include "ui/gl/gpu_timing.h" |
-#include "ui/gl/scoped_api.h" |
namespace gpu { |
@@ -70,6 +69,14 @@ void GLContextVirtual::OnSetSwapInterval(int interval) { |
shared_context_->SetSwapInterval(interval); |
} |
+std::string GLContextVirtual::GetGLVersion() { |
+ return shared_context_->GetGLVersion(); |
+} |
+ |
+std::string GLContextVirtual::GetGLRenderer() { |
+ return shared_context_->GetGLRenderer(); |
+} |
+ |
std::string GLContextVirtual::GetExtensions() { |
return shared_context_->GetExtensions(); |
} |