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

Unified Diff: gpu/command_buffer/service/gl_utils.cc

Issue 2758173003: Expose GL_VENDOR/GL_RENDERER strings to internal clients of GPU command buffer. (Closed)
Patch Set: Fixing gl_tests Created 3 years, 9 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
« no previous file with comments | « gpu/command_buffer/service/gl_utils.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gl_utils.cc
diff --git a/gpu/command_buffer/service/gl_utils.cc b/gpu/command_buffer/service/gl_utils.cc
index 19683c3fbe6f91107107d966921d5e0f71868d9b..cef929f0b6d085de1d267d2f8909f4fc89cd8fc2 100644
--- a/gpu/command_buffer/service/gl_utils.cc
+++ b/gpu/command_buffer/service/gl_utils.cc
@@ -262,24 +262,6 @@ const char* GetServiceShadingLanguageVersionString(
return "OpenGL ES GLSL ES 1.0 Chromium";
}
-const char* GetServiceRendererString(const FeatureInfo* feature_info) {
- // Return the unmasked RENDERER string for WebGL contexts.
- // It is used by WEBGL_debug_renderer_info.
- if (!feature_info->IsWebGLContext())
- return "Chromium";
- else
- return reinterpret_cast<const char*>(glGetString(GL_RENDERER));
-}
-
-const char* GetServiceVendorString(const FeatureInfo* feature_info) {
- // Return the unmasked VENDOR string for WebGL contexts.
- // It is used by WEBGL_debug_renderer_info.
- if (!feature_info->IsWebGLContext())
- return "Chromium";
- else
- return reinterpret_cast<const char*>(glGetString(GL_VENDOR));
-}
-
void APIENTRY LogGLDebugMessage(GLenum source,
GLenum type,
GLuint id,
« no previous file with comments | « gpu/command_buffer/service/gl_utils.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698