Searched refs:RET_AND_SET_ERROR_IF (Results 1 – 2 of 2) sorted by relevance
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
D | GL2Encoder.cpp | 56 #define RET_AND_SET_ERROR_IF(condition, err, ret) if((condition)) { \ macro 514 RET_AND_SET_ERROR_IF( in s_glGetString() 1871 RET_AND_SET_ERROR_IF(!GLESv2Validation::shaderType(ctx, shaderType), GL_INVALID_ENUM, 0); in s_glCreateShader() 2926 RET_AND_SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM, NULL); in s_glMapBufferOES() 2930 RET_AND_SET_ERROR_IF(boundBuffer == 0, GL_INVALID_OPERATION, NULL); in s_glMapBufferOES() 2933 RET_AND_SET_ERROR_IF(!buf, GL_INVALID_VALUE, NULL); in s_glMapBufferOES() 2968 RET_AND_SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM, NULL); in s_glMapBufferRange() 2972 RET_AND_SET_ERROR_IF(boundBuffer == 0, GL_INVALID_OPERATION, NULL); in s_glMapBufferRange() 2975 RET_AND_SET_ERROR_IF(!buf, GL_INVALID_VALUE, NULL); in s_glMapBufferRange() 2979 RET_AND_SET_ERROR_IF(offset < 0, GL_INVALID_VALUE, NULL); in s_glMapBufferRange() [all …]
|
/device/generic/goldfish-opengl/system/GLESv1_enc/ |
D | GLEncoder.cpp | 38 #define RET_AND_SET_ERROR_IF(condition,err,ret) if((condition)) { \ macro
|