1 //
2 // Copyright 2019 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // capture_gles32_params.cpp:
7 // Pointer parameter capture functions for the OpenGL ES 3.2 entry points.
8
9 #include "libANGLE/capture_gles_3_2_autogen.h"
10
11 using namespace angle;
12
13 namespace gl
14 {
15
CaptureDebugMessageCallback_userParam(const State & glState,bool isCallValid,GLDEBUGPROC callback,const void * userParam,ParamCapture * userParamParam)16 void CaptureDebugMessageCallback_userParam(const State &glState,
17 bool isCallValid,
18 GLDEBUGPROC callback,
19 const void *userParam,
20 ParamCapture *userParamParam)
21 {
22 UNIMPLEMENTED();
23 }
24
CaptureDebugMessageControl_ids(const State & glState,bool isCallValid,GLenum source,GLenum type,GLenum severity,GLsizei count,const GLuint * ids,GLboolean enabled,ParamCapture * idsParam)25 void CaptureDebugMessageControl_ids(const State &glState,
26 bool isCallValid,
27 GLenum source,
28 GLenum type,
29 GLenum severity,
30 GLsizei count,
31 const GLuint *ids,
32 GLboolean enabled,
33 ParamCapture *idsParam)
34 {
35 UNIMPLEMENTED();
36 }
37
CaptureDebugMessageInsert_buf(const State & glState,bool isCallValid,GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar * buf,ParamCapture * bufParam)38 void CaptureDebugMessageInsert_buf(const State &glState,
39 bool isCallValid,
40 GLenum source,
41 GLenum type,
42 GLuint id,
43 GLenum severity,
44 GLsizei length,
45 const GLchar *buf,
46 ParamCapture *bufParam)
47 {
48 UNIMPLEMENTED();
49 }
50
CaptureDrawElementsBaseVertex_indices(const State & glState,bool isCallValid,PrimitiveMode modePacked,GLsizei count,DrawElementsType typePacked,const void * indices,GLint basevertex,ParamCapture * indicesParam)51 void CaptureDrawElementsBaseVertex_indices(const State &glState,
52 bool isCallValid,
53 PrimitiveMode modePacked,
54 GLsizei count,
55 DrawElementsType typePacked,
56 const void *indices,
57 GLint basevertex,
58 ParamCapture *indicesParam)
59 {
60 UNIMPLEMENTED();
61 }
62
CaptureDrawElementsInstancedBaseVertex_indices(const State & glState,bool isCallValid,PrimitiveMode modePacked,GLsizei count,DrawElementsType typePacked,const void * indices,GLsizei instancecount,GLint basevertex,ParamCapture * indicesParam)63 void CaptureDrawElementsInstancedBaseVertex_indices(const State &glState,
64 bool isCallValid,
65 PrimitiveMode modePacked,
66 GLsizei count,
67 DrawElementsType typePacked,
68 const void *indices,
69 GLsizei instancecount,
70 GLint basevertex,
71 ParamCapture *indicesParam)
72 {
73 UNIMPLEMENTED();
74 }
75
CaptureDrawRangeElementsBaseVertex_indices(const State & glState,bool isCallValid,PrimitiveMode modePacked,GLuint start,GLuint end,GLsizei count,DrawElementsType typePacked,const void * indices,GLint basevertex,ParamCapture * indicesParam)76 void CaptureDrawRangeElementsBaseVertex_indices(const State &glState,
77 bool isCallValid,
78 PrimitiveMode modePacked,
79 GLuint start,
80 GLuint end,
81 GLsizei count,
82 DrawElementsType typePacked,
83 const void *indices,
84 GLint basevertex,
85 ParamCapture *indicesParam)
86 {
87 UNIMPLEMENTED();
88 }
89
CaptureGetDebugMessageLog_sources(const State & glState,bool isCallValid,GLuint count,GLsizei bufSize,GLenum * sources,GLenum * types,GLuint * ids,GLenum * severities,GLsizei * lengths,GLchar * messageLog,ParamCapture * sourcesParam)90 void CaptureGetDebugMessageLog_sources(const State &glState,
91 bool isCallValid,
92 GLuint count,
93 GLsizei bufSize,
94 GLenum *sources,
95 GLenum *types,
96 GLuint *ids,
97 GLenum *severities,
98 GLsizei *lengths,
99 GLchar *messageLog,
100 ParamCapture *sourcesParam)
101 {
102 UNIMPLEMENTED();
103 }
104
CaptureGetDebugMessageLog_types(const State & glState,bool isCallValid,GLuint count,GLsizei bufSize,GLenum * sources,GLenum * types,GLuint * ids,GLenum * severities,GLsizei * lengths,GLchar * messageLog,ParamCapture * typesParam)105 void CaptureGetDebugMessageLog_types(const State &glState,
106 bool isCallValid,
107 GLuint count,
108 GLsizei bufSize,
109 GLenum *sources,
110 GLenum *types,
111 GLuint *ids,
112 GLenum *severities,
113 GLsizei *lengths,
114 GLchar *messageLog,
115 ParamCapture *typesParam)
116 {
117 UNIMPLEMENTED();
118 }
119
CaptureGetDebugMessageLog_ids(const State & glState,bool isCallValid,GLuint count,GLsizei bufSize,GLenum * sources,GLenum * types,GLuint * ids,GLenum * severities,GLsizei * lengths,GLchar * messageLog,ParamCapture * idsParam)120 void CaptureGetDebugMessageLog_ids(const State &glState,
121 bool isCallValid,
122 GLuint count,
123 GLsizei bufSize,
124 GLenum *sources,
125 GLenum *types,
126 GLuint *ids,
127 GLenum *severities,
128 GLsizei *lengths,
129 GLchar *messageLog,
130 ParamCapture *idsParam)
131 {
132 UNIMPLEMENTED();
133 }
134
CaptureGetDebugMessageLog_severities(const State & glState,bool isCallValid,GLuint count,GLsizei bufSize,GLenum * sources,GLenum * types,GLuint * ids,GLenum * severities,GLsizei * lengths,GLchar * messageLog,ParamCapture * severitiesParam)135 void CaptureGetDebugMessageLog_severities(const State &glState,
136 bool isCallValid,
137 GLuint count,
138 GLsizei bufSize,
139 GLenum *sources,
140 GLenum *types,
141 GLuint *ids,
142 GLenum *severities,
143 GLsizei *lengths,
144 GLchar *messageLog,
145 ParamCapture *severitiesParam)
146 {
147 UNIMPLEMENTED();
148 }
149
CaptureGetDebugMessageLog_lengths(const State & glState,bool isCallValid,GLuint count,GLsizei bufSize,GLenum * sources,GLenum * types,GLuint * ids,GLenum * severities,GLsizei * lengths,GLchar * messageLog,ParamCapture * lengthsParam)150 void CaptureGetDebugMessageLog_lengths(const State &glState,
151 bool isCallValid,
152 GLuint count,
153 GLsizei bufSize,
154 GLenum *sources,
155 GLenum *types,
156 GLuint *ids,
157 GLenum *severities,
158 GLsizei *lengths,
159 GLchar *messageLog,
160 ParamCapture *lengthsParam)
161 {
162 UNIMPLEMENTED();
163 }
164
CaptureGetDebugMessageLog_messageLog(const State & glState,bool isCallValid,GLuint count,GLsizei bufSize,GLenum * sources,GLenum * types,GLuint * ids,GLenum * severities,GLsizei * lengths,GLchar * messageLog,ParamCapture * messageLogParam)165 void CaptureGetDebugMessageLog_messageLog(const State &glState,
166 bool isCallValid,
167 GLuint count,
168 GLsizei bufSize,
169 GLenum *sources,
170 GLenum *types,
171 GLuint *ids,
172 GLenum *severities,
173 GLsizei *lengths,
174 GLchar *messageLog,
175 ParamCapture *messageLogParam)
176 {
177 UNIMPLEMENTED();
178 }
179
CaptureGetObjectLabel_length(const State & glState,bool isCallValid,GLenum identifier,GLuint name,GLsizei bufSize,GLsizei * length,GLchar * label,ParamCapture * lengthParam)180 void CaptureGetObjectLabel_length(const State &glState,
181 bool isCallValid,
182 GLenum identifier,
183 GLuint name,
184 GLsizei bufSize,
185 GLsizei *length,
186 GLchar *label,
187 ParamCapture *lengthParam)
188 {
189 UNIMPLEMENTED();
190 }
191
CaptureGetObjectLabel_label(const State & glState,bool isCallValid,GLenum identifier,GLuint name,GLsizei bufSize,GLsizei * length,GLchar * label,ParamCapture * labelParam)192 void CaptureGetObjectLabel_label(const State &glState,
193 bool isCallValid,
194 GLenum identifier,
195 GLuint name,
196 GLsizei bufSize,
197 GLsizei *length,
198 GLchar *label,
199 ParamCapture *labelParam)
200 {
201 UNIMPLEMENTED();
202 }
203
CaptureGetObjectPtrLabel_ptr(const State & glState,bool isCallValid,const void * ptr,GLsizei bufSize,GLsizei * length,GLchar * label,ParamCapture * ptrParam)204 void CaptureGetObjectPtrLabel_ptr(const State &glState,
205 bool isCallValid,
206 const void *ptr,
207 GLsizei bufSize,
208 GLsizei *length,
209 GLchar *label,
210 ParamCapture *ptrParam)
211 {
212 UNIMPLEMENTED();
213 }
214
CaptureGetObjectPtrLabel_length(const State & glState,bool isCallValid,const void * ptr,GLsizei bufSize,GLsizei * length,GLchar * label,ParamCapture * lengthParam)215 void CaptureGetObjectPtrLabel_length(const State &glState,
216 bool isCallValid,
217 const void *ptr,
218 GLsizei bufSize,
219 GLsizei *length,
220 GLchar *label,
221 ParamCapture *lengthParam)
222 {
223 UNIMPLEMENTED();
224 }
225
CaptureGetObjectPtrLabel_label(const State & glState,bool isCallValid,const void * ptr,GLsizei bufSize,GLsizei * length,GLchar * label,ParamCapture * labelParam)226 void CaptureGetObjectPtrLabel_label(const State &glState,
227 bool isCallValid,
228 const void *ptr,
229 GLsizei bufSize,
230 GLsizei *length,
231 GLchar *label,
232 ParamCapture *labelParam)
233 {
234 UNIMPLEMENTED();
235 }
236
CaptureGetPointerv_params(const State & glState,bool isCallValid,GLenum pname,void ** params,ParamCapture * paramCapture)237 void CaptureGetPointerv_params(const State &glState,
238 bool isCallValid,
239 GLenum pname,
240 void **params,
241 ParamCapture *paramCapture)
242 {
243 UNIMPLEMENTED();
244 }
245
CaptureGetSamplerParameterIiv_params(const State & glState,bool isCallValid,SamplerID sampler,GLenum pname,GLint * params,ParamCapture * paramsParam)246 void CaptureGetSamplerParameterIiv_params(const State &glState,
247 bool isCallValid,
248 SamplerID sampler,
249 GLenum pname,
250 GLint *params,
251 ParamCapture *paramsParam)
252 {
253 UNIMPLEMENTED();
254 }
255
CaptureGetSamplerParameterIuiv_params(const State & glState,bool isCallValid,SamplerID sampler,GLenum pname,GLuint * params,ParamCapture * paramsParam)256 void CaptureGetSamplerParameterIuiv_params(const State &glState,
257 bool isCallValid,
258 SamplerID sampler,
259 GLenum pname,
260 GLuint *params,
261 ParamCapture *paramsParam)
262 {
263 UNIMPLEMENTED();
264 }
265
CaptureGetTexParameterIiv_params(const State & glState,bool isCallValid,TextureType targetPacked,GLenum pname,GLint * params,ParamCapture * paramsParam)266 void CaptureGetTexParameterIiv_params(const State &glState,
267 bool isCallValid,
268 TextureType targetPacked,
269 GLenum pname,
270 GLint *params,
271 ParamCapture *paramsParam)
272 {
273 UNIMPLEMENTED();
274 }
275
CaptureGetTexParameterIuiv_params(const State & glState,bool isCallValid,TextureType targetPacked,GLenum pname,GLuint * params,ParamCapture * paramsParam)276 void CaptureGetTexParameterIuiv_params(const State &glState,
277 bool isCallValid,
278 TextureType targetPacked,
279 GLenum pname,
280 GLuint *params,
281 ParamCapture *paramsParam)
282 {
283 UNIMPLEMENTED();
284 }
285
CaptureGetnUniformfv_params(const State & glState,bool isCallValid,ShaderProgramID program,UniformLocation location,GLsizei bufSize,GLfloat * params,ParamCapture * paramsParam)286 void CaptureGetnUniformfv_params(const State &glState,
287 bool isCallValid,
288 ShaderProgramID program,
289 UniformLocation location,
290 GLsizei bufSize,
291 GLfloat *params,
292 ParamCapture *paramsParam)
293 {
294 UNIMPLEMENTED();
295 }
296
CaptureGetnUniformiv_params(const State & glState,bool isCallValid,ShaderProgramID program,UniformLocation location,GLsizei bufSize,GLint * params,ParamCapture * paramsParam)297 void CaptureGetnUniformiv_params(const State &glState,
298 bool isCallValid,
299 ShaderProgramID program,
300 UniformLocation location,
301 GLsizei bufSize,
302 GLint *params,
303 ParamCapture *paramsParam)
304 {
305 UNIMPLEMENTED();
306 }
307
CaptureGetnUniformuiv_params(const State & glState,bool isCallValid,ShaderProgramID program,UniformLocation location,GLsizei bufSize,GLuint * params,ParamCapture * paramsParam)308 void CaptureGetnUniformuiv_params(const State &glState,
309 bool isCallValid,
310 ShaderProgramID program,
311 UniformLocation location,
312 GLsizei bufSize,
313 GLuint *params,
314 ParamCapture *paramsParam)
315 {
316 UNIMPLEMENTED();
317 }
318
CaptureObjectLabel_label(const State & glState,bool isCallValid,GLenum identifier,GLuint name,GLsizei length,const GLchar * label,ParamCapture * labelParam)319 void CaptureObjectLabel_label(const State &glState,
320 bool isCallValid,
321 GLenum identifier,
322 GLuint name,
323 GLsizei length,
324 const GLchar *label,
325 ParamCapture *labelParam)
326 {
327 UNIMPLEMENTED();
328 }
329
CaptureObjectPtrLabel_ptr(const State & glState,bool isCallValid,const void * ptr,GLsizei length,const GLchar * label,ParamCapture * ptrParam)330 void CaptureObjectPtrLabel_ptr(const State &glState,
331 bool isCallValid,
332 const void *ptr,
333 GLsizei length,
334 const GLchar *label,
335 ParamCapture *ptrParam)
336 {
337 UNIMPLEMENTED();
338 }
339
CaptureObjectPtrLabel_label(const State & glState,bool isCallValid,const void * ptr,GLsizei length,const GLchar * label,ParamCapture * labelParam)340 void CaptureObjectPtrLabel_label(const State &glState,
341 bool isCallValid,
342 const void *ptr,
343 GLsizei length,
344 const GLchar *label,
345 ParamCapture *labelParam)
346 {
347 UNIMPLEMENTED();
348 }
349
CapturePushDebugGroup_message(const State & glState,bool isCallValid,GLenum source,GLuint id,GLsizei length,const GLchar * message,ParamCapture * messageParam)350 void CapturePushDebugGroup_message(const State &glState,
351 bool isCallValid,
352 GLenum source,
353 GLuint id,
354 GLsizei length,
355 const GLchar *message,
356 ParamCapture *messageParam)
357 {
358 UNIMPLEMENTED();
359 }
360
CaptureReadnPixels_data(const State & glState,bool isCallValid,GLint x,GLint y,GLsizei width,GLsizei height,GLenum format,GLenum type,GLsizei bufSize,void * data,ParamCapture * dataParam)361 void CaptureReadnPixels_data(const State &glState,
362 bool isCallValid,
363 GLint x,
364 GLint y,
365 GLsizei width,
366 GLsizei height,
367 GLenum format,
368 GLenum type,
369 GLsizei bufSize,
370 void *data,
371 ParamCapture *dataParam)
372 {
373 UNIMPLEMENTED();
374 }
375
CaptureSamplerParameterIiv_param(const State & glState,bool isCallValid,SamplerID sampler,GLenum pname,const GLint * param,ParamCapture * paramParam)376 void CaptureSamplerParameterIiv_param(const State &glState,
377 bool isCallValid,
378 SamplerID sampler,
379 GLenum pname,
380 const GLint *param,
381 ParamCapture *paramParam)
382 {
383 UNIMPLEMENTED();
384 }
385
CaptureSamplerParameterIuiv_param(const State & glState,bool isCallValid,SamplerID sampler,GLenum pname,const GLuint * param,ParamCapture * paramParam)386 void CaptureSamplerParameterIuiv_param(const State &glState,
387 bool isCallValid,
388 SamplerID sampler,
389 GLenum pname,
390 const GLuint *param,
391 ParamCapture *paramParam)
392 {
393 UNIMPLEMENTED();
394 }
395
CaptureTexParameterIiv_params(const State & glState,bool isCallValid,TextureType targetPacked,GLenum pname,const GLint * params,ParamCapture * paramParam)396 void CaptureTexParameterIiv_params(const State &glState,
397 bool isCallValid,
398 TextureType targetPacked,
399 GLenum pname,
400 const GLint *params,
401 ParamCapture *paramParam)
402 {
403 UNIMPLEMENTED();
404 }
405
CaptureTexParameterIuiv_params(const State & glState,bool isCallValid,TextureType targetPacked,GLenum pname,const GLuint * params,ParamCapture * paramParam)406 void CaptureTexParameterIuiv_params(const State &glState,
407 bool isCallValid,
408 TextureType targetPacked,
409 GLenum pname,
410 const GLuint *params,
411 ParamCapture *paramParam)
412 {
413 UNIMPLEMENTED();
414 }
415
416 } // namespace gl
417