OSDN Git Service
Adding draw instanced functions
This cl adds the API function
implementations for both the
core OpenGL ES 3.0 functions:
- glDrawArraysInstanced
- glDrawElementsInstanced
and the OpenGL ES 2.0 extensions:
- GL_EXT_draw_instanced
- GL_EXT_instanced_arrays
which include these functions:
- glDrawArraysInstancedEXT
- glDrawElementsInstancedEXT
- glVertexAttribDivisorEXT
Change-Id: I71efdd48087f14fe5e8229c7f6a74e6525921fe3
Reviewed-on: https://swiftshader-review.googlesource.com/2893
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>