Searched refs:SET_ERROR_IF (Results 1 – 2 of 2) sorted by relevance
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
D | GL2Encoder.cpp | 42 #define SET_ERROR_IF(condition, err) if((condition)) { \ macro 541 SET_ERROR_IF(!GLESv2Validation::pixelStoreParam(ctx, param), GL_INVALID_ENUM); in s_glPixelStorei() 542 SET_ERROR_IF(!GLESv2Validation::pixelStoreValue(param, value), GL_INVALID_VALUE); in s_glPixelStorei() 551 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glBindBuffer() 576 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glBufferData() 578 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION); in s_glBufferData() 579 SET_ERROR_IF(size<0, GL_INVALID_VALUE); in s_glBufferData() 589 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glBufferSubData() 591 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION); in s_glBufferSubData() 592 SET_ERROR_IF(ctx->isBufferTargetMapped(target), GL_INVALID_OPERATION); in s_glBufferSubData() [all …]
|
/device/generic/goldfish-opengl/system/GLESv1_enc/ |
D | GLEncoder.cpp | 31 #define SET_ERROR_IF(condition,err) if((condition)) { \ macro 368 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION); in s_glBufferData() 369 SET_ERROR_IF(size<0, GL_INVALID_VALUE); in s_glBufferData() 379 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION); in s_glBufferSubData() 382 SET_ERROR_IF(res, res); in s_glBufferSubData() 390 SET_ERROR_IF(n<0, GL_INVALID_VALUE); in s_glDeleteBuffers() 545 SET_ERROR_IF(count<0, GL_INVALID_VALUE); in s_glDrawElements() 832 SET_ERROR_IF((target == GL_TEXTURE_EXTERNAL_OES && in s_glTexParameterf() 850 SET_ERROR_IF((target == GL_TEXTURE_EXTERNAL_OES && in s_glTexParameterfv() 868 SET_ERROR_IF((target == GL_TEXTURE_EXTERNAL_OES && in s_glTexParameteri() [all …]
|