#include "third_party/blink/renderer/modules/webgl/webgl_multi_draw_instanced_base_vertex_base_instance.h"
#include "gpu/command_buffer/client/gles2_interface.h"
#include "third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.h"
namespace blink {
WebGLMultiDrawInstancedBaseVertexBaseInstance::
WebGLMultiDrawInstancedBaseVertexBaseInstance(
WebGLRenderingContextBase* context)
: … { … }
WebGLExtensionName WebGLMultiDrawInstancedBaseVertexBaseInstance::GetName()
const { … }
bool WebGLMultiDrawInstancedBaseVertexBaseInstance::Supported(
WebGLRenderingContextBase* context) { … }
const char* WebGLMultiDrawInstancedBaseVertexBaseInstance::ExtensionName() { … }
void WebGLMultiDrawInstancedBaseVertexBaseInstance::
multiDrawArraysInstancedBaseInstanceImpl(
GLenum mode,
const base::span<const int32_t> firsts,
GLuint firsts_offset,
const base::span<const int32_t> counts,
GLuint counts_offset,
const base::span<const int32_t> instance_counts,
GLuint instance_counts_offset,
const base::span<const uint32_t> baseinstances,
GLuint baseinstances_offset,
GLsizei drawcount) { … }
void WebGLMultiDrawInstancedBaseVertexBaseInstance::
multiDrawElementsInstancedBaseVertexBaseInstanceImpl(
GLenum mode,
const base::span<const int32_t> counts,
GLuint counts_offset,
GLenum type,
const base::span<const int32_t> offsets,
GLuint offsets_offset,
const base::span<const int32_t> instance_counts,
GLuint instance_counts_offset,
const base::span<const int32_t> basevertices,
GLuint basevertices_offset,
const base::span<const uint32_t> baseinstances,
GLuint baseinstances_offset,
GLsizei drawcount) { … }
}