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

Side by Side Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_get_multiple.txt

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/BUILD.gn ('k') | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Name 1 Name
2 2
3 CHROMIUM_get_multiple 3 CHROMIUM_get_multiple
4 4
5 Name Strings 5 Name Strings
6 6
7 GL_CHROMIUM_get_multiple 7 GL_CHROMIUM_get_multiple
8 8
9 Version 9 Version
10 10
11 Last Modifed Date: July 22, 2011 11 Last Modifed Date: July 22, 2011
12 12
13 Dependencies 13 Dependencies
14 14
15 OpenGL ES 2.0 is required. 15 OpenGL ES 2.0 is required.
16 16
17 Overview 17 Overview
18 18
19 This extension adds the ability to query multiple state and program 19 This extension adds the ability to query multiple program information in a
20 information in a single call. 20 single call.
21 21
22 Issues 22 Issues
23 23
24 24
25 New Tokens 25 New Tokens
26 26
27 None 27 None
28 28
29 New Procedures and Functions 29 New Procedures and Functions
30 30
31 void GetMultipleIntegervCHROMIUM (const GLenum* pnames, GLuint count,
32 GLint* results, GLsizeiptr size)
33
34 <pnames> points to an array of state enums that would normally be queried by
35 GetIntegerv. <count> is the number of pnames. <results> points memory large
36 enough to contain all the state being queried. <size> is the size of the
37 buffer pointed to be <results>
38
39 Example: <pnames> points to an array with VIEWPORT and MAX_TEXTURE_SIZE.
40 VIEWPORT returns 4 values, MAX_TEXTURE_SIZE returns 1 value. Therefore
41 results must point to a buffer of size 5 * sizeof(GLint) and size must be at
42 least 5 * sizeof(GLint)
43
44 INVALID_ENUM is generated if any of the pnames are not valid for GetIntegerv
45
46 INVALID_VALUE is generated if <size> does not equal the size needed for the
47 query
48
49 INVALID_VALUE is generated if the memory pointed to be <results> has not
50 been zeroed out.
51
52 void GetProgrmaInfoCHROMIUM (GLuint program, GLsizei bufsize, 31 void GetProgrmaInfoCHROMIUM (GLuint program, GLsizei bufsize,
53 GLsizei* size, void* info) 32 GLsizei* size, void* info)
54 33
55 <program> is the program to query. <bufsize> is the size of the buffer to 34 <program> is the program to query. <bufsize> is the size of the buffer to
56 hold the results. <size> is a pointer to a GLsizei to store the size needed 35 hold the results. <size> is a pointer to a GLsizei to store the size needed
57 to hold the results. <info> is a pointer to memory to store the result. 36 to hold the results. <info> is a pointer to memory to store the result.
58 37
59 To query the space needed for the results set <info> to NULL. 38 To query the space needed for the results set <info> to NULL.
60 39
61 The format of the data that will be stored in the memory pointed to by 40 The format of the data that will be stored in the memory pointed to by
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 79
101 None. 80 None.
102 81
103 New State 82 New State
104 83
105 None. 84 None.
106 85
107 Revision History 86 Revision History
108 87
109 7/22/2011 Documented the extension 88 7/22/2011 Documented the extension
OLDNEW
« no previous file with comments | « gpu/BUILD.gn ('k') | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_subscribe_uniform.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698