Home
last modified time | relevance | path

Searched refs:GL_INVALID_VALUE (Results 1 – 7 of 7) sorted by relevance

/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2Encoder.cpp205 SET_ERROR_IF(size<0, GL_INVALID_VALUE); in s_glBufferData()
227 SET_ERROR_IF(n<0, GL_INVALID_VALUE); in s_glDeleteBuffers()
416 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glEnableVertexAttribArray()
426 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glDisableVertexAttribArray()
437 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribiv()
450 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribfv()
463 SET_ERROR_IF(!(index < maxIndex), GL_INVALID_VALUE); in s_glGetVertexAttribPointerv()
539 SET_ERROR_IF(count<0, GL_INVALID_VALUE); in s_glDrawArrays()
571 SET_ERROR_IF(count<0, GL_INVALID_VALUE); in s_glDrawElements()
777 SET_ERROR_IF(!ctx->m_shared->isObject(shader), GL_INVALID_VALUE); in s_glShaderSource()
[all …]
Dgl2_entry.cpp397 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glDeleteBuffers()
404 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glDeleteFramebuffers()
417 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glDeleteRenderbuffers()
430 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glDeleteTextures()
527 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glGenBuffers()
540 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glGenFramebuffers()
547 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glGenRenderbuffers()
554 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glGenTextures()
1167 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glDeleteVertexArraysOES()
1174 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glGenVertexArraysOES()
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
Dgl_base_types.h55 #define GL_INVALID_VALUE 0x0501 macro
DGLClientState.cpp209 retval = GL_INVALID_VALUE; in setPixelStore()
216 retval = GL_INVALID_VALUE; in setPixelStore()
DGLSharedGroup.cpp277 if ((!buf) || (buf->m_size < offset+size) || (offset < 0) || (size<0)) return GL_INVALID_VALUE; in subUpdateBufferData()
/device/generic/goldfish/opengl/system/GLESv1_enc/
Dgl_entry.cpp666 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glDeleteBuffers()
673 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glDeleteTextures()
788 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glGenBuffers()
795 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glGenTextures()
1624 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glDeleteRenderbuffersOES()
1631 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glGenRenderbuffersOES()
1662 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glDeleteFramebuffersOES()
1669 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glGenFramebuffersOES()
1856 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glDeleteVertexArraysOES()
1863 if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } in glGenVertexArraysOES()
[all …]
DGLEncoder.cpp368 SET_ERROR_IF(size<0, GL_INVALID_VALUE); in s_glBufferData()
389 SET_ERROR_IF(n<0, GL_INVALID_VALUE); in s_glDeleteBuffers()
542 SET_ERROR_IF(count<0, GL_INVALID_VALUE); in s_glDrawElements()