1 //
2 // Copyright 2023 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
7 // context_private_call_gl.cpp:
8 // Helpers that set/get state that is entirely locally accessed by the context.
9
10 #include "libANGLE/context_private_call_gl_autogen.h"
11 #include "libANGLE/context_private_call_gles_autogen.h"
12
13 #include "common/debug.h"
14
15 namespace gl
16 {
ContextPrivateVertexAttrib1d(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLdouble x)17 void ContextPrivateVertexAttrib1d(PrivateState *privateState,
18 PrivateStateCache *privateStateCache,
19 GLuint index,
20 GLdouble x)
21 {
22 UNIMPLEMENTED();
23 }
24
ContextPrivateVertexAttrib1dv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLdouble * v)25 void ContextPrivateVertexAttrib1dv(PrivateState *privateState,
26 PrivateStateCache *privateStateCache,
27 GLuint index,
28 const GLdouble *v)
29 {
30 UNIMPLEMENTED();
31 }
32
ContextPrivateVertexAttrib1s(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLshort x)33 void ContextPrivateVertexAttrib1s(PrivateState *privateState,
34 PrivateStateCache *privateStateCache,
35 GLuint index,
36 GLshort x)
37 {
38 UNIMPLEMENTED();
39 }
40
ContextPrivateVertexAttrib1sv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLshort * v)41 void ContextPrivateVertexAttrib1sv(PrivateState *privateState,
42 PrivateStateCache *privateStateCache,
43 GLuint index,
44 const GLshort *v)
45 {
46 UNIMPLEMENTED();
47 }
48
ContextPrivateVertexAttrib2d(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLdouble x,GLdouble y)49 void ContextPrivateVertexAttrib2d(PrivateState *privateState,
50 PrivateStateCache *privateStateCache,
51 GLuint index,
52 GLdouble x,
53 GLdouble y)
54 {
55 UNIMPLEMENTED();
56 }
57
ContextPrivateVertexAttrib2dv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLdouble * v)58 void ContextPrivateVertexAttrib2dv(PrivateState *privateState,
59 PrivateStateCache *privateStateCache,
60 GLuint index,
61 const GLdouble *v)
62 {
63 UNIMPLEMENTED();
64 }
65
ContextPrivateVertexAttrib2s(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLshort x,GLshort y)66 void ContextPrivateVertexAttrib2s(PrivateState *privateState,
67 PrivateStateCache *privateStateCache,
68 GLuint index,
69 GLshort x,
70 GLshort y)
71 {
72 UNIMPLEMENTED();
73 }
74
ContextPrivateVertexAttrib2sv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLshort * v)75 void ContextPrivateVertexAttrib2sv(PrivateState *privateState,
76 PrivateStateCache *privateStateCache,
77 GLuint index,
78 const GLshort *v)
79 {
80 UNIMPLEMENTED();
81 }
82
ContextPrivateVertexAttrib3d(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLdouble x,GLdouble y,GLdouble z)83 void ContextPrivateVertexAttrib3d(PrivateState *privateState,
84 PrivateStateCache *privateStateCache,
85 GLuint index,
86 GLdouble x,
87 GLdouble y,
88 GLdouble z)
89 {
90 UNIMPLEMENTED();
91 }
92
ContextPrivateVertexAttrib3dv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLdouble * v)93 void ContextPrivateVertexAttrib3dv(PrivateState *privateState,
94 PrivateStateCache *privateStateCache,
95 GLuint index,
96 const GLdouble *v)
97 {
98 UNIMPLEMENTED();
99 }
100
ContextPrivateVertexAttrib3s(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLshort x,GLshort y,GLshort z)101 void ContextPrivateVertexAttrib3s(PrivateState *privateState,
102 PrivateStateCache *privateStateCache,
103 GLuint index,
104 GLshort x,
105 GLshort y,
106 GLshort z)
107 {
108 UNIMPLEMENTED();
109 }
110
ContextPrivateVertexAttrib3sv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLshort * v)111 void ContextPrivateVertexAttrib3sv(PrivateState *privateState,
112 PrivateStateCache *privateStateCache,
113 GLuint index,
114 const GLshort *v)
115 {
116 UNIMPLEMENTED();
117 }
118
ContextPrivateVertexAttrib4Nbv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLbyte * v)119 void ContextPrivateVertexAttrib4Nbv(PrivateState *privateState,
120 PrivateStateCache *privateStateCache,
121 GLuint index,
122 const GLbyte *v)
123 {
124 UNIMPLEMENTED();
125 }
126
ContextPrivateVertexAttrib4Niv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLint * v)127 void ContextPrivateVertexAttrib4Niv(PrivateState *privateState,
128 PrivateStateCache *privateStateCache,
129 GLuint index,
130 const GLint *v)
131 {
132 UNIMPLEMENTED();
133 }
134
ContextPrivateVertexAttrib4Nsv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLshort * v)135 void ContextPrivateVertexAttrib4Nsv(PrivateState *privateState,
136 PrivateStateCache *privateStateCache,
137 GLuint index,
138 const GLshort *v)
139 {
140 UNIMPLEMENTED();
141 }
142
ContextPrivateVertexAttrib4Nub(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLubyte x,GLubyte y,GLubyte z,GLubyte w)143 void ContextPrivateVertexAttrib4Nub(PrivateState *privateState,
144 PrivateStateCache *privateStateCache,
145 GLuint index,
146 GLubyte x,
147 GLubyte y,
148 GLubyte z,
149 GLubyte w)
150 {
151 UNIMPLEMENTED();
152 }
153
ContextPrivateVertexAttrib4Nubv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLubyte * v)154 void ContextPrivateVertexAttrib4Nubv(PrivateState *privateState,
155 PrivateStateCache *privateStateCache,
156 GLuint index,
157 const GLubyte *v)
158 {
159 UNIMPLEMENTED();
160 }
161
ContextPrivateVertexAttrib4Nuiv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLuint * v)162 void ContextPrivateVertexAttrib4Nuiv(PrivateState *privateState,
163 PrivateStateCache *privateStateCache,
164 GLuint index,
165 const GLuint *v)
166 {
167 UNIMPLEMENTED();
168 }
169
ContextPrivateVertexAttrib4Nusv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLushort * v)170 void ContextPrivateVertexAttrib4Nusv(PrivateState *privateState,
171 PrivateStateCache *privateStateCache,
172 GLuint index,
173 const GLushort *v)
174 {
175 UNIMPLEMENTED();
176 }
177
ContextPrivateVertexAttrib4bv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLbyte * v)178 void ContextPrivateVertexAttrib4bv(PrivateState *privateState,
179 PrivateStateCache *privateStateCache,
180 GLuint index,
181 const GLbyte *v)
182 {
183 UNIMPLEMENTED();
184 }
185
ContextPrivateVertexAttrib4d(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLdouble x,GLdouble y,GLdouble z,GLdouble w)186 void ContextPrivateVertexAttrib4d(PrivateState *privateState,
187 PrivateStateCache *privateStateCache,
188 GLuint index,
189 GLdouble x,
190 GLdouble y,
191 GLdouble z,
192 GLdouble w)
193 {
194 UNIMPLEMENTED();
195 }
196
ContextPrivateVertexAttrib4dv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLdouble * v)197 void ContextPrivateVertexAttrib4dv(PrivateState *privateState,
198 PrivateStateCache *privateStateCache,
199 GLuint index,
200 const GLdouble *v)
201 {
202 UNIMPLEMENTED();
203 }
204
ContextPrivateVertexAttrib4iv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLint * v)205 void ContextPrivateVertexAttrib4iv(PrivateState *privateState,
206 PrivateStateCache *privateStateCache,
207 GLuint index,
208 const GLint *v)
209 {
210 UNIMPLEMENTED();
211 }
212
ContextPrivateVertexAttrib4s(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLshort x,GLshort y,GLshort z,GLshort w)213 void ContextPrivateVertexAttrib4s(PrivateState *privateState,
214 PrivateStateCache *privateStateCache,
215 GLuint index,
216 GLshort x,
217 GLshort y,
218 GLshort z,
219 GLshort w)
220 {
221 UNIMPLEMENTED();
222 }
223
ContextPrivateVertexAttrib4sv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLshort * v)224 void ContextPrivateVertexAttrib4sv(PrivateState *privateState,
225 PrivateStateCache *privateStateCache,
226 GLuint index,
227 const GLshort *v)
228 {
229 UNIMPLEMENTED();
230 }
231
ContextPrivateVertexAttrib4ubv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLubyte * v)232 void ContextPrivateVertexAttrib4ubv(PrivateState *privateState,
233 PrivateStateCache *privateStateCache,
234 GLuint index,
235 const GLubyte *v)
236 {
237 UNIMPLEMENTED();
238 }
239
ContextPrivateVertexAttrib4uiv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLuint * v)240 void ContextPrivateVertexAttrib4uiv(PrivateState *privateState,
241 PrivateStateCache *privateStateCache,
242 GLuint index,
243 const GLuint *v)
244 {
245 UNIMPLEMENTED();
246 }
247
ContextPrivateVertexAttrib4usv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLushort * v)248 void ContextPrivateVertexAttrib4usv(PrivateState *privateState,
249 PrivateStateCache *privateStateCache,
250 GLuint index,
251 const GLushort *v)
252 {
253 UNIMPLEMENTED();
254 }
255
ContextPrivateVertexAttribI1i(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLint x)256 void ContextPrivateVertexAttribI1i(PrivateState *privateState,
257 PrivateStateCache *privateStateCache,
258 GLuint index,
259 GLint x)
260 {
261 UNIMPLEMENTED();
262 }
263
ContextPrivateVertexAttribI1iv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLint * v)264 void ContextPrivateVertexAttribI1iv(PrivateState *privateState,
265 PrivateStateCache *privateStateCache,
266 GLuint index,
267 const GLint *v)
268 {
269 UNIMPLEMENTED();
270 }
271
ContextPrivateVertexAttribI1ui(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLuint x)272 void ContextPrivateVertexAttribI1ui(PrivateState *privateState,
273 PrivateStateCache *privateStateCache,
274 GLuint index,
275 GLuint x)
276 {
277 UNIMPLEMENTED();
278 }
279
ContextPrivateVertexAttribI1uiv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLuint * v)280 void ContextPrivateVertexAttribI1uiv(PrivateState *privateState,
281 PrivateStateCache *privateStateCache,
282 GLuint index,
283 const GLuint *v)
284 {
285 UNIMPLEMENTED();
286 }
287
ContextPrivateVertexAttribI2i(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLint x,GLint y)288 void ContextPrivateVertexAttribI2i(PrivateState *privateState,
289 PrivateStateCache *privateStateCache,
290 GLuint index,
291 GLint x,
292 GLint y)
293 {
294 UNIMPLEMENTED();
295 }
296
ContextPrivateVertexAttribI2iv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLint * v)297 void ContextPrivateVertexAttribI2iv(PrivateState *privateState,
298 PrivateStateCache *privateStateCache,
299 GLuint index,
300 const GLint *v)
301 {
302 UNIMPLEMENTED();
303 }
304
ContextPrivateVertexAttribI2ui(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLuint x,GLuint y)305 void ContextPrivateVertexAttribI2ui(PrivateState *privateState,
306 PrivateStateCache *privateStateCache,
307 GLuint index,
308 GLuint x,
309 GLuint y)
310 {
311 UNIMPLEMENTED();
312 }
313
ContextPrivateVertexAttribI2uiv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLuint * v)314 void ContextPrivateVertexAttribI2uiv(PrivateState *privateState,
315 PrivateStateCache *privateStateCache,
316 GLuint index,
317 const GLuint *v)
318 {
319 UNIMPLEMENTED();
320 }
321
ContextPrivateVertexAttribI3i(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLint x,GLint y,GLint z)322 void ContextPrivateVertexAttribI3i(PrivateState *privateState,
323 PrivateStateCache *privateStateCache,
324 GLuint index,
325 GLint x,
326 GLint y,
327 GLint z)
328 {
329 UNIMPLEMENTED();
330 }
331
ContextPrivateVertexAttribI3iv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLint * v)332 void ContextPrivateVertexAttribI3iv(PrivateState *privateState,
333 PrivateStateCache *privateStateCache,
334 GLuint index,
335 const GLint *v)
336 {
337 UNIMPLEMENTED();
338 }
339
ContextPrivateVertexAttribI3ui(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLuint x,GLuint y,GLuint z)340 void ContextPrivateVertexAttribI3ui(PrivateState *privateState,
341 PrivateStateCache *privateStateCache,
342 GLuint index,
343 GLuint x,
344 GLuint y,
345 GLuint z)
346 {
347 UNIMPLEMENTED();
348 }
349
ContextPrivateVertexAttribI3uiv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLuint * v)350 void ContextPrivateVertexAttribI3uiv(PrivateState *privateState,
351 PrivateStateCache *privateStateCache,
352 GLuint index,
353 const GLuint *v)
354 {
355 UNIMPLEMENTED();
356 }
357
ContextPrivateVertexAttribI4bv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLbyte * v)358 void ContextPrivateVertexAttribI4bv(PrivateState *privateState,
359 PrivateStateCache *privateStateCache,
360 GLuint index,
361 const GLbyte *v)
362 {
363 UNIMPLEMENTED();
364 }
365
ContextPrivateVertexAttribI4sv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLshort * v)366 void ContextPrivateVertexAttribI4sv(PrivateState *privateState,
367 PrivateStateCache *privateStateCache,
368 GLuint index,
369 const GLshort *v)
370 {
371 UNIMPLEMENTED();
372 }
373
ContextPrivateVertexAttribI4ubv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLubyte * v)374 void ContextPrivateVertexAttribI4ubv(PrivateState *privateState,
375 PrivateStateCache *privateStateCache,
376 GLuint index,
377 const GLubyte *v)
378 {
379 UNIMPLEMENTED();
380 }
381
ContextPrivateVertexAttribI4usv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLushort * v)382 void ContextPrivateVertexAttribI4usv(PrivateState *privateState,
383 PrivateStateCache *privateStateCache,
384 GLuint index,
385 const GLushort *v)
386 {
387 UNIMPLEMENTED();
388 }
389
ContextPrivateVertexAttribP1ui(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLenum type,GLboolean normalized,GLuint value)390 void ContextPrivateVertexAttribP1ui(PrivateState *privateState,
391 PrivateStateCache *privateStateCache,
392 GLuint index,
393 GLenum type,
394 GLboolean normalized,
395 GLuint value)
396 {
397 UNIMPLEMENTED();
398 }
399
ContextPrivateVertexAttribP1uiv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLenum type,GLboolean normalized,const GLuint * value)400 void ContextPrivateVertexAttribP1uiv(PrivateState *privateState,
401 PrivateStateCache *privateStateCache,
402 GLuint index,
403 GLenum type,
404 GLboolean normalized,
405 const GLuint *value)
406 {
407 UNIMPLEMENTED();
408 }
409
ContextPrivateVertexAttribP2ui(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLenum type,GLboolean normalized,GLuint value)410 void ContextPrivateVertexAttribP2ui(PrivateState *privateState,
411 PrivateStateCache *privateStateCache,
412 GLuint index,
413 GLenum type,
414 GLboolean normalized,
415 GLuint value)
416 {
417 UNIMPLEMENTED();
418 }
419
ContextPrivateVertexAttribP2uiv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLenum type,GLboolean normalized,const GLuint * value)420 void ContextPrivateVertexAttribP2uiv(PrivateState *privateState,
421 PrivateStateCache *privateStateCache,
422 GLuint index,
423 GLenum type,
424 GLboolean normalized,
425 const GLuint *value)
426 {
427 UNIMPLEMENTED();
428 }
429
ContextPrivateVertexAttribP3ui(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLenum type,GLboolean normalized,GLuint value)430 void ContextPrivateVertexAttribP3ui(PrivateState *privateState,
431 PrivateStateCache *privateStateCache,
432 GLuint index,
433 GLenum type,
434 GLboolean normalized,
435 GLuint value)
436 {
437 UNIMPLEMENTED();
438 }
439
ContextPrivateVertexAttribP3uiv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLenum type,GLboolean normalized,const GLuint * value)440 void ContextPrivateVertexAttribP3uiv(PrivateState *privateState,
441 PrivateStateCache *privateStateCache,
442 GLuint index,
443 GLenum type,
444 GLboolean normalized,
445 const GLuint *value)
446 {
447 UNIMPLEMENTED();
448 }
449
ContextPrivateVertexAttribP4ui(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLenum type,GLboolean normalized,GLuint value)450 void ContextPrivateVertexAttribP4ui(PrivateState *privateState,
451 PrivateStateCache *privateStateCache,
452 GLuint index,
453 GLenum type,
454 GLboolean normalized,
455 GLuint value)
456 {
457 UNIMPLEMENTED();
458 }
459
ContextPrivateVertexAttribP4uiv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLenum type,GLboolean normalized,const GLuint * value)460 void ContextPrivateVertexAttribP4uiv(PrivateState *privateState,
461 PrivateStateCache *privateStateCache,
462 GLuint index,
463 GLenum type,
464 GLboolean normalized,
465 const GLuint *value)
466 {
467 UNIMPLEMENTED();
468 }
469
ContextPrivateVertexAttribL1d(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLdouble x)470 void ContextPrivateVertexAttribL1d(PrivateState *privateState,
471 PrivateStateCache *privateStateCache,
472 GLuint index,
473 GLdouble x)
474 {
475 UNIMPLEMENTED();
476 }
477
ContextPrivateVertexAttribL1dv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLdouble * v)478 void ContextPrivateVertexAttribL1dv(PrivateState *privateState,
479 PrivateStateCache *privateStateCache,
480 GLuint index,
481 const GLdouble *v)
482 {
483 UNIMPLEMENTED();
484 }
485
ContextPrivateVertexAttribL2d(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLdouble x,GLdouble y)486 void ContextPrivateVertexAttribL2d(PrivateState *privateState,
487 PrivateStateCache *privateStateCache,
488 GLuint index,
489 GLdouble x,
490 GLdouble y)
491 {
492 UNIMPLEMENTED();
493 }
494
ContextPrivateVertexAttribL2dv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLdouble * v)495 void ContextPrivateVertexAttribL2dv(PrivateState *privateState,
496 PrivateStateCache *privateStateCache,
497 GLuint index,
498 const GLdouble *v)
499 {
500 UNIMPLEMENTED();
501 }
502
ContextPrivateVertexAttribL3d(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLdouble x,GLdouble y,GLdouble z)503 void ContextPrivateVertexAttribL3d(PrivateState *privateState,
504 PrivateStateCache *privateStateCache,
505 GLuint index,
506 GLdouble x,
507 GLdouble y,
508 GLdouble z)
509 {
510 UNIMPLEMENTED();
511 }
512
ContextPrivateVertexAttribL3dv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLdouble * v)513 void ContextPrivateVertexAttribL3dv(PrivateState *privateState,
514 PrivateStateCache *privateStateCache,
515 GLuint index,
516 const GLdouble *v)
517 {
518 UNIMPLEMENTED();
519 }
520
ContextPrivateVertexAttribL4d(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,GLdouble x,GLdouble y,GLdouble z,GLdouble w)521 void ContextPrivateVertexAttribL4d(PrivateState *privateState,
522 PrivateStateCache *privateStateCache,
523 GLuint index,
524 GLdouble x,
525 GLdouble y,
526 GLdouble z,
527 GLdouble w)
528 {
529 UNIMPLEMENTED();
530 }
531
ContextPrivateVertexAttribL4dv(PrivateState * privateState,PrivateStateCache * privateStateCache,GLuint index,const GLdouble * v)532 void ContextPrivateVertexAttribL4dv(PrivateState *privateState,
533 PrivateStateCache *privateStateCache,
534 GLuint index,
535 const GLdouble *v)
536 {
537 UNIMPLEMENTED();
538 }
539 } // namespace gl
540