• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // GENERATED FILE - DO NOT EDIT.
2 // Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml.
3 //
4 // Copyright 2020 The ANGLE Project Authors. All rights reserved.
5 // Use of this source code is governed by a BSD-style license that can be
6 // found in the LICENSE file.
7 //
8 // capture_gles_3_2_autogen.h:
9 //   Capture functions for the OpenGL ES 3.2 entry points.
10 
11 #ifndef LIBANGLE_CAPTURE_GLES_3_2_AUTOGEN_H_
12 #define LIBANGLE_CAPTURE_GLES_3_2_AUTOGEN_H_
13 
14 #include "common/PackedEnums.h"
15 #include "libANGLE/capture/FrameCapture.h"
16 #ifdef ANGLE_ENABLE_CL
17 #    include "common/PackedCLEnums_autogen.h"
18 #endif
19 
20 namespace gl
21 {
22 
23 // Method Captures
24 
25 angle::CallCapture CaptureBlendBarrier(const State &glState, bool isCallValid);
26 angle::CallCapture CaptureBlendEquationSeparatei(const State &glState,
27                                                  bool isCallValid,
28                                                  GLuint buf,
29                                                  GLenum modeRGB,
30                                                  GLenum modeAlpha);
31 angle::CallCapture CaptureBlendEquationi(const State &glState,
32                                          bool isCallValid,
33                                          GLuint buf,
34                                          GLenum mode);
35 angle::CallCapture CaptureBlendFuncSeparatei(const State &glState,
36                                              bool isCallValid,
37                                              GLuint buf,
38                                              GLenum srcRGB,
39                                              GLenum dstRGB,
40                                              GLenum srcAlpha,
41                                              GLenum dstAlpha);
42 angle::CallCapture CaptureBlendFunci(const State &glState,
43                                      bool isCallValid,
44                                      GLuint buf,
45                                      GLenum src,
46                                      GLenum dst);
47 angle::CallCapture CaptureColorMaski(const State &glState,
48                                      bool isCallValid,
49                                      GLuint index,
50                                      GLboolean r,
51                                      GLboolean g,
52                                      GLboolean b,
53                                      GLboolean a);
54 angle::CallCapture CaptureCopyImageSubData(const State &glState,
55                                            bool isCallValid,
56                                            GLuint srcName,
57                                            GLenum srcTarget,
58                                            GLint srcLevel,
59                                            GLint srcX,
60                                            GLint srcY,
61                                            GLint srcZ,
62                                            GLuint dstName,
63                                            GLenum dstTarget,
64                                            GLint dstLevel,
65                                            GLint dstX,
66                                            GLint dstY,
67                                            GLint dstZ,
68                                            GLsizei srcWidth,
69                                            GLsizei srcHeight,
70                                            GLsizei srcDepth);
71 angle::CallCapture CaptureDebugMessageCallback(const State &glState,
72                                                bool isCallValid,
73                                                GLDEBUGPROC callback,
74                                                const void *userParam);
75 angle::CallCapture CaptureDebugMessageControl(const State &glState,
76                                               bool isCallValid,
77                                               GLenum source,
78                                               GLenum type,
79                                               GLenum severity,
80                                               GLsizei count,
81                                               const GLuint *ids,
82                                               GLboolean enabled);
83 angle::CallCapture CaptureDebugMessageInsert(const State &glState,
84                                              bool isCallValid,
85                                              GLenum source,
86                                              GLenum type,
87                                              GLuint id,
88                                              GLenum severity,
89                                              GLsizei length,
90                                              const GLchar *buf);
91 angle::CallCapture CaptureDisablei(const State &glState,
92                                    bool isCallValid,
93                                    GLenum target,
94                                    GLuint index);
95 angle::CallCapture CaptureDrawElementsBaseVertex(const State &glState,
96                                                  bool isCallValid,
97                                                  PrimitiveMode modePacked,
98                                                  GLsizei count,
99                                                  DrawElementsType typePacked,
100                                                  const void *indices,
101                                                  GLint basevertex);
102 angle::CallCapture CaptureDrawElementsInstancedBaseVertex(const State &glState,
103                                                           bool isCallValid,
104                                                           PrimitiveMode modePacked,
105                                                           GLsizei count,
106                                                           DrawElementsType typePacked,
107                                                           const void *indices,
108                                                           GLsizei instancecount,
109                                                           GLint basevertex);
110 angle::CallCapture CaptureDrawRangeElementsBaseVertex(const State &glState,
111                                                       bool isCallValid,
112                                                       PrimitiveMode modePacked,
113                                                       GLuint start,
114                                                       GLuint end,
115                                                       GLsizei count,
116                                                       DrawElementsType typePacked,
117                                                       const void *indices,
118                                                       GLint basevertex);
119 angle::CallCapture CaptureEnablei(const State &glState,
120                                   bool isCallValid,
121                                   GLenum target,
122                                   GLuint index);
123 angle::CallCapture CaptureFramebufferTexture(const State &glState,
124                                              bool isCallValid,
125                                              GLenum target,
126                                              GLenum attachment,
127                                              TextureID texturePacked,
128                                              GLint level);
129 angle::CallCapture CaptureGetDebugMessageLog(const State &glState,
130                                              bool isCallValid,
131                                              GLuint count,
132                                              GLsizei bufSize,
133                                              GLenum *sources,
134                                              GLenum *types,
135                                              GLuint *ids,
136                                              GLenum *severities,
137                                              GLsizei *lengths,
138                                              GLchar *messageLog,
139                                              GLuint returnValue);
140 angle::CallCapture CaptureGetGraphicsResetStatus(const State &glState,
141                                                  bool isCallValid,
142                                                  GLenum returnValue);
143 angle::CallCapture CaptureGetObjectLabel(const State &glState,
144                                          bool isCallValid,
145                                          GLenum identifier,
146                                          GLuint name,
147                                          GLsizei bufSize,
148                                          GLsizei *length,
149                                          GLchar *label);
150 angle::CallCapture CaptureGetObjectPtrLabel(const State &glState,
151                                             bool isCallValid,
152                                             const void *ptr,
153                                             GLsizei bufSize,
154                                             GLsizei *length,
155                                             GLchar *label);
156 angle::CallCapture CaptureGetPointerv(const State &glState,
157                                       bool isCallValid,
158                                       GLenum pname,
159                                       void **params);
160 angle::CallCapture CaptureGetSamplerParameterIiv(const State &glState,
161                                                  bool isCallValid,
162                                                  SamplerID samplerPacked,
163                                                  GLenum pname,
164                                                  GLint *params);
165 angle::CallCapture CaptureGetSamplerParameterIuiv(const State &glState,
166                                                   bool isCallValid,
167                                                   SamplerID samplerPacked,
168                                                   GLenum pname,
169                                                   GLuint *params);
170 angle::CallCapture CaptureGetTexParameterIiv(const State &glState,
171                                              bool isCallValid,
172                                              TextureType targetPacked,
173                                              GLenum pname,
174                                              GLint *params);
175 angle::CallCapture CaptureGetTexParameterIuiv(const State &glState,
176                                               bool isCallValid,
177                                               TextureType targetPacked,
178                                               GLenum pname,
179                                               GLuint *params);
180 angle::CallCapture CaptureGetnUniformfv(const State &glState,
181                                         bool isCallValid,
182                                         ShaderProgramID programPacked,
183                                         UniformLocation locationPacked,
184                                         GLsizei bufSize,
185                                         GLfloat *params);
186 angle::CallCapture CaptureGetnUniformiv(const State &glState,
187                                         bool isCallValid,
188                                         ShaderProgramID programPacked,
189                                         UniformLocation locationPacked,
190                                         GLsizei bufSize,
191                                         GLint *params);
192 angle::CallCapture CaptureGetnUniformuiv(const State &glState,
193                                          bool isCallValid,
194                                          ShaderProgramID programPacked,
195                                          UniformLocation locationPacked,
196                                          GLsizei bufSize,
197                                          GLuint *params);
198 angle::CallCapture CaptureIsEnabledi(const State &glState,
199                                      bool isCallValid,
200                                      GLenum target,
201                                      GLuint index,
202                                      GLboolean returnValue);
203 angle::CallCapture CaptureMinSampleShading(const State &glState, bool isCallValid, GLfloat value);
204 angle::CallCapture CaptureObjectLabel(const State &glState,
205                                       bool isCallValid,
206                                       GLenum identifier,
207                                       GLuint name,
208                                       GLsizei length,
209                                       const GLchar *label);
210 angle::CallCapture CaptureObjectPtrLabel(const State &glState,
211                                          bool isCallValid,
212                                          const void *ptr,
213                                          GLsizei length,
214                                          const GLchar *label);
215 angle::CallCapture CapturePatchParameteri(const State &glState,
216                                           bool isCallValid,
217                                           GLenum pname,
218                                           GLint value);
219 angle::CallCapture CapturePopDebugGroup(const State &glState, bool isCallValid);
220 angle::CallCapture CapturePrimitiveBoundingBox(const State &glState,
221                                                bool isCallValid,
222                                                GLfloat minX,
223                                                GLfloat minY,
224                                                GLfloat minZ,
225                                                GLfloat minW,
226                                                GLfloat maxX,
227                                                GLfloat maxY,
228                                                GLfloat maxZ,
229                                                GLfloat maxW);
230 angle::CallCapture CapturePushDebugGroup(const State &glState,
231                                          bool isCallValid,
232                                          GLenum source,
233                                          GLuint id,
234                                          GLsizei length,
235                                          const GLchar *message);
236 angle::CallCapture CaptureReadnPixels(const State &glState,
237                                       bool isCallValid,
238                                       GLint x,
239                                       GLint y,
240                                       GLsizei width,
241                                       GLsizei height,
242                                       GLenum format,
243                                       GLenum type,
244                                       GLsizei bufSize,
245                                       void *data);
246 angle::CallCapture CaptureSamplerParameterIiv(const State &glState,
247                                               bool isCallValid,
248                                               SamplerID samplerPacked,
249                                               GLenum pname,
250                                               const GLint *param);
251 angle::CallCapture CaptureSamplerParameterIuiv(const State &glState,
252                                                bool isCallValid,
253                                                SamplerID samplerPacked,
254                                                GLenum pname,
255                                                const GLuint *param);
256 angle::CallCapture CaptureTexBuffer(const State &glState,
257                                     bool isCallValid,
258                                     TextureType targetPacked,
259                                     GLenum internalformat,
260                                     BufferID bufferPacked);
261 angle::CallCapture CaptureTexBufferRange(const State &glState,
262                                          bool isCallValid,
263                                          TextureType targetPacked,
264                                          GLenum internalformat,
265                                          BufferID bufferPacked,
266                                          GLintptr offset,
267                                          GLsizeiptr size);
268 angle::CallCapture CaptureTexParameterIiv(const State &glState,
269                                           bool isCallValid,
270                                           TextureType targetPacked,
271                                           GLenum pname,
272                                           const GLint *params);
273 angle::CallCapture CaptureTexParameterIuiv(const State &glState,
274                                            bool isCallValid,
275                                            TextureType targetPacked,
276                                            GLenum pname,
277                                            const GLuint *params);
278 angle::CallCapture CaptureTexStorage3DMultisample(const State &glState,
279                                                   bool isCallValid,
280                                                   TextureType targetPacked,
281                                                   GLsizei samples,
282                                                   GLenum internalformat,
283                                                   GLsizei width,
284                                                   GLsizei height,
285                                                   GLsizei depth,
286                                                   GLboolean fixedsamplelocations);
287 
288 // Parameter Captures
289 
290 void CaptureDebugMessageCallback_userParam(const State &glState,
291                                            bool isCallValid,
292                                            GLDEBUGPROC callback,
293                                            const void *userParam,
294                                            angle::ParamCapture *paramCapture);
295 void CaptureDebugMessageControl_ids(const State &glState,
296                                     bool isCallValid,
297                                     GLenum source,
298                                     GLenum type,
299                                     GLenum severity,
300                                     GLsizei count,
301                                     const GLuint *ids,
302                                     GLboolean enabled,
303                                     angle::ParamCapture *paramCapture);
304 void CaptureDebugMessageInsert_buf(const State &glState,
305                                    bool isCallValid,
306                                    GLenum source,
307                                    GLenum type,
308                                    GLuint id,
309                                    GLenum severity,
310                                    GLsizei length,
311                                    const GLchar *buf,
312                                    angle::ParamCapture *paramCapture);
313 void CaptureDrawElementsBaseVertex_indices(const State &glState,
314                                            bool isCallValid,
315                                            PrimitiveMode modePacked,
316                                            GLsizei count,
317                                            DrawElementsType typePacked,
318                                            const void *indices,
319                                            GLint basevertex,
320                                            angle::ParamCapture *paramCapture);
321 void CaptureDrawElementsInstancedBaseVertex_indices(const State &glState,
322                                                     bool isCallValid,
323                                                     PrimitiveMode modePacked,
324                                                     GLsizei count,
325                                                     DrawElementsType typePacked,
326                                                     const void *indices,
327                                                     GLsizei instancecount,
328                                                     GLint basevertex,
329                                                     angle::ParamCapture *paramCapture);
330 void CaptureDrawRangeElementsBaseVertex_indices(const State &glState,
331                                                 bool isCallValid,
332                                                 PrimitiveMode modePacked,
333                                                 GLuint start,
334                                                 GLuint end,
335                                                 GLsizei count,
336                                                 DrawElementsType typePacked,
337                                                 const void *indices,
338                                                 GLint basevertex,
339                                                 angle::ParamCapture *paramCapture);
340 void CaptureGetDebugMessageLog_sources(const State &glState,
341                                        bool isCallValid,
342                                        GLuint count,
343                                        GLsizei bufSize,
344                                        GLenum *sources,
345                                        GLenum *types,
346                                        GLuint *ids,
347                                        GLenum *severities,
348                                        GLsizei *lengths,
349                                        GLchar *messageLog,
350                                        angle::ParamCapture *paramCapture);
351 void CaptureGetDebugMessageLog_types(const State &glState,
352                                      bool isCallValid,
353                                      GLuint count,
354                                      GLsizei bufSize,
355                                      GLenum *sources,
356                                      GLenum *types,
357                                      GLuint *ids,
358                                      GLenum *severities,
359                                      GLsizei *lengths,
360                                      GLchar *messageLog,
361                                      angle::ParamCapture *paramCapture);
362 void CaptureGetDebugMessageLog_ids(const State &glState,
363                                    bool isCallValid,
364                                    GLuint count,
365                                    GLsizei bufSize,
366                                    GLenum *sources,
367                                    GLenum *types,
368                                    GLuint *ids,
369                                    GLenum *severities,
370                                    GLsizei *lengths,
371                                    GLchar *messageLog,
372                                    angle::ParamCapture *paramCapture);
373 void CaptureGetDebugMessageLog_severities(const State &glState,
374                                           bool isCallValid,
375                                           GLuint count,
376                                           GLsizei bufSize,
377                                           GLenum *sources,
378                                           GLenum *types,
379                                           GLuint *ids,
380                                           GLenum *severities,
381                                           GLsizei *lengths,
382                                           GLchar *messageLog,
383                                           angle::ParamCapture *paramCapture);
384 void CaptureGetDebugMessageLog_lengths(const State &glState,
385                                        bool isCallValid,
386                                        GLuint count,
387                                        GLsizei bufSize,
388                                        GLenum *sources,
389                                        GLenum *types,
390                                        GLuint *ids,
391                                        GLenum *severities,
392                                        GLsizei *lengths,
393                                        GLchar *messageLog,
394                                        angle::ParamCapture *paramCapture);
395 void CaptureGetDebugMessageLog_messageLog(const State &glState,
396                                           bool isCallValid,
397                                           GLuint count,
398                                           GLsizei bufSize,
399                                           GLenum *sources,
400                                           GLenum *types,
401                                           GLuint *ids,
402                                           GLenum *severities,
403                                           GLsizei *lengths,
404                                           GLchar *messageLog,
405                                           angle::ParamCapture *paramCapture);
406 void CaptureGetObjectLabel_length(const State &glState,
407                                   bool isCallValid,
408                                   GLenum identifier,
409                                   GLuint name,
410                                   GLsizei bufSize,
411                                   GLsizei *length,
412                                   GLchar *label,
413                                   angle::ParamCapture *paramCapture);
414 void CaptureGetObjectLabel_label(const State &glState,
415                                  bool isCallValid,
416                                  GLenum identifier,
417                                  GLuint name,
418                                  GLsizei bufSize,
419                                  GLsizei *length,
420                                  GLchar *label,
421                                  angle::ParamCapture *paramCapture);
422 void CaptureGetObjectPtrLabel_ptr(const State &glState,
423                                   bool isCallValid,
424                                   const void *ptr,
425                                   GLsizei bufSize,
426                                   GLsizei *length,
427                                   GLchar *label,
428                                   angle::ParamCapture *paramCapture);
429 void CaptureGetObjectPtrLabel_length(const State &glState,
430                                      bool isCallValid,
431                                      const void *ptr,
432                                      GLsizei bufSize,
433                                      GLsizei *length,
434                                      GLchar *label,
435                                      angle::ParamCapture *paramCapture);
436 void CaptureGetObjectPtrLabel_label(const State &glState,
437                                     bool isCallValid,
438                                     const void *ptr,
439                                     GLsizei bufSize,
440                                     GLsizei *length,
441                                     GLchar *label,
442                                     angle::ParamCapture *paramCapture);
443 void CaptureGetPointerv_params(const State &glState,
444                                bool isCallValid,
445                                GLenum pname,
446                                void **params,
447                                angle::ParamCapture *paramCapture);
448 void CaptureGetSamplerParameterIiv_params(const State &glState,
449                                           bool isCallValid,
450                                           SamplerID samplerPacked,
451                                           GLenum pname,
452                                           GLint *params,
453                                           angle::ParamCapture *paramCapture);
454 void CaptureGetSamplerParameterIuiv_params(const State &glState,
455                                            bool isCallValid,
456                                            SamplerID samplerPacked,
457                                            GLenum pname,
458                                            GLuint *params,
459                                            angle::ParamCapture *paramCapture);
460 void CaptureGetTexParameterIiv_params(const State &glState,
461                                       bool isCallValid,
462                                       TextureType targetPacked,
463                                       GLenum pname,
464                                       GLint *params,
465                                       angle::ParamCapture *paramCapture);
466 void CaptureGetTexParameterIuiv_params(const State &glState,
467                                        bool isCallValid,
468                                        TextureType targetPacked,
469                                        GLenum pname,
470                                        GLuint *params,
471                                        angle::ParamCapture *paramCapture);
472 void CaptureGetnUniformfv_params(const State &glState,
473                                  bool isCallValid,
474                                  ShaderProgramID programPacked,
475                                  UniformLocation locationPacked,
476                                  GLsizei bufSize,
477                                  GLfloat *params,
478                                  angle::ParamCapture *paramCapture);
479 void CaptureGetnUniformiv_params(const State &glState,
480                                  bool isCallValid,
481                                  ShaderProgramID programPacked,
482                                  UniformLocation locationPacked,
483                                  GLsizei bufSize,
484                                  GLint *params,
485                                  angle::ParamCapture *paramCapture);
486 void CaptureGetnUniformuiv_params(const State &glState,
487                                   bool isCallValid,
488                                   ShaderProgramID programPacked,
489                                   UniformLocation locationPacked,
490                                   GLsizei bufSize,
491                                   GLuint *params,
492                                   angle::ParamCapture *paramCapture);
493 void CaptureObjectLabel_label(const State &glState,
494                               bool isCallValid,
495                               GLenum identifier,
496                               GLuint name,
497                               GLsizei length,
498                               const GLchar *label,
499                               angle::ParamCapture *paramCapture);
500 void CaptureObjectPtrLabel_ptr(const State &glState,
501                                bool isCallValid,
502                                const void *ptr,
503                                GLsizei length,
504                                const GLchar *label,
505                                angle::ParamCapture *paramCapture);
506 void CaptureObjectPtrLabel_label(const State &glState,
507                                  bool isCallValid,
508                                  const void *ptr,
509                                  GLsizei length,
510                                  const GLchar *label,
511                                  angle::ParamCapture *paramCapture);
512 void CapturePushDebugGroup_message(const State &glState,
513                                    bool isCallValid,
514                                    GLenum source,
515                                    GLuint id,
516                                    GLsizei length,
517                                    const GLchar *message,
518                                    angle::ParamCapture *paramCapture);
519 void CaptureReadnPixels_data(const State &glState,
520                              bool isCallValid,
521                              GLint x,
522                              GLint y,
523                              GLsizei width,
524                              GLsizei height,
525                              GLenum format,
526                              GLenum type,
527                              GLsizei bufSize,
528                              void *data,
529                              angle::ParamCapture *paramCapture);
530 void CaptureSamplerParameterIiv_param(const State &glState,
531                                       bool isCallValid,
532                                       SamplerID samplerPacked,
533                                       GLenum pname,
534                                       const GLint *param,
535                                       angle::ParamCapture *paramCapture);
536 void CaptureSamplerParameterIuiv_param(const State &glState,
537                                        bool isCallValid,
538                                        SamplerID samplerPacked,
539                                        GLenum pname,
540                                        const GLuint *param,
541                                        angle::ParamCapture *paramCapture);
542 void CaptureTexParameterIiv_params(const State &glState,
543                                    bool isCallValid,
544                                    TextureType targetPacked,
545                                    GLenum pname,
546                                    const GLint *params,
547                                    angle::ParamCapture *paramCapture);
548 void CaptureTexParameterIuiv_params(const State &glState,
549                                     bool isCallValid,
550                                     TextureType targetPacked,
551                                     GLenum pname,
552                                     const GLuint *params,
553                                     angle::ParamCapture *paramCapture);
554 }  // namespace gl
555 
556 #endif  // LIBANGLE_CAPTURE_GLES_3_2_AUTOGEN_H_
557