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

Side by Side Diff: gpu/command_buffer/service/gl_utils.h

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 unified diff | Download patch
« no previous file with comments | « no previous file | gpu/command_buffer/service/gl_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file includes all the necessary GL headers and implements some useful 5 // This file includes all the necessary GL headers and implements some useful
6 // utilities. 6 // utilities.
7 7
8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_ 8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_
9 #define GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_ 9 #define GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // GL and fill in the members of the Capabilities struct. Does not perform any 50 // GL and fill in the members of the Capabilities struct. Does not perform any
51 // extension checks. 51 // extension checks.
52 void PopulateNumericCapabilities(Capabilities* caps, 52 void PopulateNumericCapabilities(Capabilities* caps,
53 const FeatureInfo* feature_info); 53 const FeatureInfo* feature_info);
54 54
55 bool CheckUniqueAndNonNullIds(GLsizei n, const GLuint* client_ids); 55 bool CheckUniqueAndNonNullIds(GLsizei n, const GLuint* client_ids);
56 56
57 const char* GetServiceVersionString(const FeatureInfo* feature_info); 57 const char* GetServiceVersionString(const FeatureInfo* feature_info);
58 const char* GetServiceShadingLanguageVersionString( 58 const char* GetServiceShadingLanguageVersionString(
59 const FeatureInfo* feature_info); 59 const FeatureInfo* feature_info);
60 const char* GetServiceRendererString(const FeatureInfo* feature_info);
61 const char* GetServiceVendorString(const FeatureInfo* feature_info);
62 60
63 void APIENTRY LogGLDebugMessage(GLenum source, 61 void APIENTRY LogGLDebugMessage(GLenum source,
64 GLenum type, 62 GLenum type,
65 GLuint id, 63 GLuint id,
66 GLenum severity, 64 GLenum severity,
67 GLsizei length, 65 GLsizei length,
68 const GLchar* message, 66 const GLchar* message,
69 GLvoid* user_param); 67 GLvoid* user_param);
70 68
71 void InitializeGLDebugLogging(); 69 void InitializeGLDebugLogging();
72 70
73 } // gles2 71 } // gles2
74 } // gpu 72 } // gpu
75 73
76 #endif // GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_ 74 #endif // GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/gl_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698