Hash :
98d5db70
Author :
Date :
2022-08-25T16:50:38
Add capture functions for desktop GL entry points The parameter capture functions are left unimplemented for now. Bug: angleproject:7533 Change-Id: Ief356e7401805cf9b417e1f5cc3790011237e03f Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3858618 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com> Commit-Queue: Eddie Hatfield <eddiehatfield@google.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
// GENERATED FILE - DO NOT EDIT.
// Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml.
//
// Copyright 2020 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// capture_gl_2_autogen.h:
// Capture functions for the OpenGL ES Desktop GL 2.x entry points.
#ifndef LIBANGLE_CAPTURE_GL_2_AUTOGEN_H_
#define LIBANGLE_CAPTURE_GL_2_AUTOGEN_H_
#include "common/PackedEnums.h"
#include "libANGLE/capture/FrameCapture.h"
namespace gl
{
// Method Captures
// GL 2.0
angle::CallCapture CaptureGetVertexAttribdv(const State &glState,
bool isCallValid,
GLuint index,
GLenum pname,
GLdouble *params);
angle::CallCapture CaptureVertexAttrib1d(const State &glState,
bool isCallValid,
GLuint index,
GLdouble x);
angle::CallCapture CaptureVertexAttrib1dv(const State &glState,
bool isCallValid,
GLuint index,
const GLdouble *v);
angle::CallCapture CaptureVertexAttrib1s(const State &glState,
bool isCallValid,
GLuint index,
GLshort x);
angle::CallCapture CaptureVertexAttrib1sv(const State &glState,
bool isCallValid,
GLuint index,
const GLshort *v);
angle::CallCapture CaptureVertexAttrib2d(const State &glState,
bool isCallValid,
GLuint index,
GLdouble x,
GLdouble y);
angle::CallCapture CaptureVertexAttrib2dv(const State &glState,
bool isCallValid,
GLuint index,
const GLdouble *v);
angle::CallCapture CaptureVertexAttrib2s(const State &glState,
bool isCallValid,
GLuint index,
GLshort x,
GLshort y);
angle::CallCapture CaptureVertexAttrib2sv(const State &glState,
bool isCallValid,
GLuint index,
const GLshort *v);
angle::CallCapture CaptureVertexAttrib3d(const State &glState,
bool isCallValid,
GLuint index,
GLdouble x,
GLdouble y,
GLdouble z);
angle::CallCapture CaptureVertexAttrib3dv(const State &glState,
bool isCallValid,
GLuint index,
const GLdouble *v);
angle::CallCapture CaptureVertexAttrib3s(const State &glState,
bool isCallValid,
GLuint index,
GLshort x,
GLshort y,
GLshort z);
angle::CallCapture CaptureVertexAttrib3sv(const State &glState,
bool isCallValid,
GLuint index,
const GLshort *v);
angle::CallCapture CaptureVertexAttrib4Nbv(const State &glState,
bool isCallValid,
GLuint index,
const GLbyte *v);
angle::CallCapture CaptureVertexAttrib4Niv(const State &glState,
bool isCallValid,
GLuint index,
const GLint *v);
angle::CallCapture CaptureVertexAttrib4Nsv(const State &glState,
bool isCallValid,
GLuint index,
const GLshort *v);
angle::CallCapture CaptureVertexAttrib4Nub(const State &glState,
bool isCallValid,
GLuint index,
GLubyte x,
GLubyte y,
GLubyte z,
GLubyte w);
angle::CallCapture CaptureVertexAttrib4Nubv(const State &glState,
bool isCallValid,
GLuint index,
const GLubyte *v);
angle::CallCapture CaptureVertexAttrib4Nuiv(const State &glState,
bool isCallValid,
GLuint index,
const GLuint *v);
angle::CallCapture CaptureVertexAttrib4Nusv(const State &glState,
bool isCallValid,
GLuint index,
const GLushort *v);
angle::CallCapture CaptureVertexAttrib4bv(const State &glState,
bool isCallValid,
GLuint index,
const GLbyte *v);
angle::CallCapture CaptureVertexAttrib4d(const State &glState,
bool isCallValid,
GLuint index,
GLdouble x,
GLdouble y,
GLdouble z,
GLdouble w);
angle::CallCapture CaptureVertexAttrib4dv(const State &glState,
bool isCallValid,
GLuint index,
const GLdouble *v);
angle::CallCapture CaptureVertexAttrib4iv(const State &glState,
bool isCallValid,
GLuint index,
const GLint *v);
angle::CallCapture CaptureVertexAttrib4s(const State &glState,
bool isCallValid,
GLuint index,
GLshort x,
GLshort y,
GLshort z,
GLshort w);
angle::CallCapture CaptureVertexAttrib4sv(const State &glState,
bool isCallValid,
GLuint index,
const GLshort *v);
angle::CallCapture CaptureVertexAttrib4ubv(const State &glState,
bool isCallValid,
GLuint index,
const GLubyte *v);
angle::CallCapture CaptureVertexAttrib4uiv(const State &glState,
bool isCallValid,
GLuint index,
const GLuint *v);
angle::CallCapture CaptureVertexAttrib4usv(const State &glState,
bool isCallValid,
GLuint index,
const GLushort *v);
// GL 2.1
// Parameter Captures
// GL 2.0
void CaptureGetVertexAttribdv_params(const State &glState,
bool isCallValid,
GLuint index,
GLenum pname,
GLdouble *params,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib1dv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLdouble *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib1sv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLshort *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib2dv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLdouble *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib2sv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLshort *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib3dv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLdouble *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib3sv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLshort *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4Nbv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLbyte *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4Niv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLint *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4Nsv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLshort *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4Nubv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLubyte *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4Nuiv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLuint *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4Nusv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLushort *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4bv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLbyte *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4dv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLdouble *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4iv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLint *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4sv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLshort *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4ubv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLubyte *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4uiv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLuint *v,
angle::ParamCapture *paramCapture);
void CaptureVertexAttrib4usv_v(const State &glState,
bool isCallValid,
GLuint index,
const GLushort *v,
angle::ParamCapture *paramCapture);
// GL 2.1
} // namespace gl
#endif // LIBANGLE_CAPTURE_GL_2_AUTOGEN_H_