Home
last modified time | relevance | path

Searched refs:RET_AND_SET_ERROR_IF (Results 1 – 3 of 3) sorted by relevance

/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
DGLESmacros.h41 #define RET_AND_SET_ERROR_IF(condition,err,ret) if((condition)) { \ macro
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Imp.cpp319RET_AND_SET_ERROR_IF(!GLESv2Validate::framebufferTarget(target),GL_INVALID_ENUM,GL_FRAMEBUFFER_COM… in glCheckFramebufferStatus()
413 RET_AND_SET_ERROR_IF(!GLESv2Validate::shaderType(type),GL_INVALID_ENUM,0); in glCreateShader()
825 RET_AND_SET_ERROR_IF(globalProgramName==0, GL_INVALID_VALUE,-1); in glGetAttribLocation()
827 RET_AND_SET_ERROR_IF(objData.Ptr()->getDataType()!=PROGRAM_DATA,GL_INVALID_OPERATION,-1); in glGetAttribLocation()
829 RET_AND_SET_ERROR_IF(pData->getLinkStatus() != GL_TRUE,GL_INVALID_OPERATION,-1); in glGetAttribLocation()
1332 RET_AND_SET_ERROR_IF(true,GL_INVALID_ENUM,NULL); in glGetString()
1380 RET_AND_SET_ERROR_IF(globalProgramName==0, GL_INVALID_VALUE,-1); in glGetUniformLocation()
1382 RET_AND_SET_ERROR_IF(objData.Ptr()->getDataType()!=PROGRAM_DATA,GL_INVALID_OPERATION,-1); in glGetUniformLocation()
1384 RET_AND_SET_ERROR_IF(pData->getLinkStatus() != GL_TRUE,GL_INVALID_OPERATION,-1); in glGetUniformLocation()
1495 RET_AND_SET_ERROR_IF(!GLESv2Validate::capability(cap),GL_INVALID_ENUM,GL_FALSE); in glIsEnabled()
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
DGLEScmImp.cpp215RET_AND_SET_ERROR_IF(!GLEScmValidate::capability(cap,ctx->getMaxLights(),ctx->getMaxClipPlanes()),… in glIsEnabled()
261 RET_AND_SET_ERROR_IF(true,GL_INVALID_ENUM,NULL); in glGetString()
1760 RET_AND_SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION,GL_FALSE); in glIsRenderbufferOES()
1904 RET_AND_SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION,GL_FALSE); in glIsFramebufferOES()
1951 RET_AND_SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION,0); in glCheckFramebufferStatusOES()
1952 RET_AND_SET_ERROR_IF(!GLEScmValidate::framebufferTarget(target) ,GL_INVALID_ENUM,0); in glCheckFramebufferStatusOES()