Commit 90e07c73 by shrekshao Committed by Commit Bot

Hook up several drawElements variants in Context11

Turns out the issue for the skia bug is not related to index range cache but simply several new drawElemnts variants are not properly hooked up. Change-Id: I2d1ae15c74233185e4fee8a1443ffe0477f9c444 Bug: angleproject:3402, angleproject:4536 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2137943 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent eb298a02
...@@ -341,9 +341,7 @@ angle::Result Context11::drawElementsBaseVertex(const gl::Context *context, ...@@ -341,9 +341,7 @@ angle::Result Context11::drawElementsBaseVertex(const gl::Context *context,
const void *indices, const void *indices,
GLint baseVertex) GLint baseVertex)
{ {
// TODO: angleproject:3402 return drawElementsImpl(context, mode, count, type, indices, 0, baseVertex, 0);
UNIMPLEMENTED();
return angle::Result::Stop;
} }
angle::Result Context11::drawElementsInstanced(const gl::Context *context, angle::Result Context11::drawElementsInstanced(const gl::Context *context,
...@@ -364,9 +362,7 @@ angle::Result Context11::drawElementsInstancedBaseVertex(const gl::Context *cont ...@@ -364,9 +362,7 @@ angle::Result Context11::drawElementsInstancedBaseVertex(const gl::Context *cont
GLsizei instances, GLsizei instances,
GLint baseVertex) GLint baseVertex)
{ {
// TODO: angleproject:3402 return drawElementsImpl(context, mode, count, type, indices, instances, baseVertex, 0);
UNIMPLEMENTED();
return angle::Result::Stop;
} }
angle::Result Context11::drawElementsInstancedBaseVertexBaseInstance(const gl::Context *context, angle::Result Context11::drawElementsInstancedBaseVertexBaseInstance(const gl::Context *context,
...@@ -402,9 +398,7 @@ angle::Result Context11::drawRangeElementsBaseVertex(const gl::Context *context, ...@@ -402,9 +398,7 @@ angle::Result Context11::drawRangeElementsBaseVertex(const gl::Context *context,
const void *indices, const void *indices,
GLint baseVertex) GLint baseVertex)
{ {
// TODO: angleproject:3402 return drawElementsImpl(context, mode, count, type, indices, 0, baseVertex, 0);
UNIMPLEMENTED();
return angle::Result::Stop;
} }
angle::Result Context11::drawArraysIndirect(const gl::Context *context, angle::Result Context11::drawArraysIndirect(const gl::Context *context,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment