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

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

Issue 2317363005: Add basic GL functionality to the passthrough command buffer. (Closed)
Patch Set: Handle bind_generates_resource Created 4 years, 3 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 | « gpu/command_buffer/service/context_group.cc ('k') | 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 GLenum precision_type, 45 GLenum precision_type,
46 GLint* range, 46 GLint* range,
47 GLint* precision); 47 GLint* precision);
48 48
49 // Using the provided feature info, query the numeric limits of the underlying 49 // Using the provided feature info, query the numeric limits of the underlying
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);
56
55 } // gles2 57 } // gles2
56 } // gpu 58 } // gpu
57 59
58 #endif // GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_ 60 #endif // GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/context_group.cc ('k') | gpu/command_buffer/service/gl_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698