Home
last modified time | relevance | path

Searched refs:SET_ERROR_IF (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2Encoder.cpp31 #define SET_ERROR_IF(condition,err) if((condition)) { \ macro
202SET_ERROR_IF(!(target == GL_ARRAY_BUFFER || target == GL_ELEMENT_ARRAY_BUFFER), GL_INVALID_ENUM); in s_glBufferData()
204 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION); in s_glBufferData()
205 SET_ERROR_IF(size<0, GL_INVALID_VALUE); in s_glBufferData()
214SET_ERROR_IF(!(target == GL_ARRAY_BUFFER || target == GL_ELEMENT_ARRAY_BUFFER), GL_INVALID_ENUM); in s_glBufferSubData()
216 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION); in s_glBufferSubData()
219 SET_ERROR_IF(res, res); in s_glBufferSubData()
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()
[all …]
/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoder.cpp31 #define SET_ERROR_IF(condition,err) if((condition)) { \ macro
367 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION); in s_glBufferData()
368 SET_ERROR_IF(size<0, GL_INVALID_VALUE); in s_glBufferData()
378 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION); in s_glBufferSubData()
381 SET_ERROR_IF(res, res); in s_glBufferSubData()
389 SET_ERROR_IF(n<0, GL_INVALID_VALUE); in s_glDeleteBuffers()
542 SET_ERROR_IF(count<0, GL_INVALID_VALUE); in s_glDrawElements()
829 SET_ERROR_IF((target == GL_TEXTURE_EXTERNAL_OES && in s_glTexParameterf()
848 SET_ERROR_IF((target == GL_TEXTURE_EXTERNAL_OES && in s_glTexParameterfv()
867 SET_ERROR_IF((target == GL_TEXTURE_EXTERNAL_OES && in s_glTexParameteri()
[all …]