Hash :
a825eb70
Author :
Date :
2019-11-21T11:37:17
Implement BaseVertex draw calls for Vulkan, OpenGL, NULL contexts. This adds support for the following functions: - glDrawElementsBaseVertex - glDrawRangeElementsBaseVertex - glDrawElementsInstancedBaseVertex Bug: angleproject:3582 Bug: angleproject:3402 Bug: angleproject:4166 Change-Id: I83770f62e3a918c0965fd4ca8c7d9e598b8b4154 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1929083 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org>
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
// GENERATED FILE - DO NOT EDIT.
// Generated by generate_entry_points.py using data from gl.xml and wgl.xml.
//
// Copyright 2019 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.
//
// validationGL32_autogen.h:
// Validation functions for the OpenGL 3.2 entry points.
#ifndef LIBANGLE_VALIDATION_GL32_AUTOGEN_H_
#define LIBANGLE_VALIDATION_GL32_AUTOGEN_H_
#include "common/PackedEnums.h"
namespace gl
{
class Context;
bool ValidateMultiDrawElementsBaseVertex(Context *context,
PrimitiveMode modePacked,
const GLsizei *count,
DrawElementsType typePacked,
const void *const *indices,
GLsizei drawcount,
const GLint *basevertex);
bool ValidateProvokingVertex(Context *context, ProvokingVertexConvention modePacked);
bool ValidateTexImage2DMultisample(Context *context,
GLenum target,
GLsizei samples,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLboolean fixedsamplelocations);
bool ValidateTexImage3DMultisample(Context *context,
GLenum target,
GLsizei samples,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLboolean fixedsamplelocations);
} // namespace gl
#endif // LIBANGLE_VALIDATION_GL32_AUTOGEN_H_