зеркало из https://github.com/mozilla/gecko-dev.git
bug 900702 - GLContext DrawArraysInstanced and DrawElementsInstanced doesn't call {Before,After}GLDrawCall() - r=bjacob
This commit is contained in:
Родитель
2ee4931d46
Коммит
b5427bee94
|
@ -2015,18 +2015,22 @@ public:
|
|||
public:
|
||||
void fDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei primcount)
|
||||
{
|
||||
BeforeGLDrawCall();
|
||||
BEFORE_GL_CALL;
|
||||
ASSERT_SYMBOL_PRESENT(fDrawArraysInstanced);
|
||||
mSymbols.fDrawArraysInstanced(mode, first, count, primcount);
|
||||
AFTER_GL_CALL;
|
||||
AfterGLDrawCall();
|
||||
}
|
||||
|
||||
void fDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei primcount)
|
||||
{
|
||||
BeforeGLDrawCall();
|
||||
BEFORE_GL_CALL;
|
||||
ASSERT_SYMBOL_PRESENT(fDrawElementsInstanced);
|
||||
mSymbols.fDrawElementsInstanced(mode, count, type, indices, primcount);
|
||||
AFTER_GL_CALL;
|
||||
AfterGLDrawCall();
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче