GLMap.cpp 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /*
  2. * Copyright (c) 2021, Jelle Raaijmakers <jelle@gmta.nl>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include "GL/gl.h"
  7. #include "GLContext.h"
  8. extern GL::GLContext* g_gl_context;
  9. void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, GLdouble const* points)
  10. {
  11. dbgln("glMap1d({:#x}, {}, {}, {}, {}, {:p}): unimplemented", target, u1, u2, stride, order, points);
  12. TODO();
  13. }
  14. void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, GLfloat const* points)
  15. {
  16. dbgln("glMap1f({:#x}, {}, {}, {}, {}, {:p}): unimplemented", target, u1, u2, stride, order, points);
  17. TODO();
  18. }
  19. void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble const* points)
  20. {
  21. dbgln("glMap2d({:#x}, {}, {}, {}, {}, {}, {}, {}, {}, {:p}): unimplemented", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
  22. TODO();
  23. }
  24. void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat const* points)
  25. {
  26. dbgln("glMap2f({:#x}, {}, {}, {}, {}, {}, {}, {}, {}, {:p}): unimplemented", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
  27. TODO();
  28. }
  29. void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2)
  30. {
  31. dbgln("glMapGrid1d({}, {}, {}): unimplemented", un, u1, u2);
  32. TODO();
  33. }
  34. void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2)
  35. {
  36. dbgln("glMapGrid1f({}, {}, {}): unimplemented", un, u1, u2);
  37. TODO();
  38. }
  39. void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
  40. {
  41. dbgln("glMapGrid2d({}, {}, {}, {}, {}, {}): unimplemented", un, u1, u2, vn, v1, v2);
  42. TODO();
  43. }
  44. void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
  45. {
  46. dbgln("glMapGrid2f({}, {}, {}, {}, {}, {}): unimplemented", un, u1, u2, vn, v1, v2);
  47. TODO();
  48. }
  49. void glEvalCoord1d(GLdouble u)
  50. {
  51. dbgln("glEvalCoord1d({}): unimplemented", u);
  52. TODO();
  53. }
  54. void glEvalCoord1f(GLfloat u)
  55. {
  56. dbgln("glEvalCoord1f({}): unimplemented", u);
  57. TODO();
  58. }
  59. void glEvalCoord2d(GLdouble u, GLdouble v)
  60. {
  61. dbgln("glEvalCoord2d({}, {}): unimplemented", u, v);
  62. TODO();
  63. }
  64. void glEvalCoord2f(GLfloat u, GLfloat v)
  65. {
  66. dbgln("glEvalCoord2f({}, {}): unimplemented", u, v);
  67. TODO();
  68. }
  69. void glEvalMesh1(GLenum mode, GLint i1, GLint i2)
  70. {
  71. dbgln("glEvalMesh1({:#x}, {}, {}): unimplemented", mode, i1, i2);
  72. TODO();
  73. }
  74. void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
  75. {
  76. dbgln("glEvalMesh2({:#x}, {}, {}, {}, {}): unimplemented", mode, i1, i2, j1, j2);
  77. TODO();
  78. }
  79. void glEvalPoint1(GLint i)
  80. {
  81. dbgln("glEvalPoint1({}): unimplemented", i);
  82. TODO();
  83. }
  84. void glEvalPoint2(GLint i, GLint j)
  85. {
  86. dbgln("glEvalPoint2({}, {}): unimplemented", i, j);
  87. TODO();
  88. }