Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DGLESmacros.h95 #define RET_AND_SET_ERROR_IF(condition,err,ret) if((condition)) { \ macro
105 RET_AND_SET_ERROR_IF(!ctx->dispatcher().func, GL_INVALID_OPERATION, ret)
/hardware/google/gfxstream/guest/GLESv2_enc/
DGL2Encoder.cpp68 #define RET_AND_SET_ERROR_IF(condition, err, ret) if((condition)) { \ macro
628 RET_AND_SET_ERROR_IF( in s_glGetString()
2026 RET_AND_SET_ERROR_IF(!isShaderOrProgramObject, GL_INVALID_VALUE, ret); \
2027 RET_AND_SET_ERROR_IF(!isProgram, GL_INVALID_OPERATION, ret); \
2081 RET_AND_SET_ERROR_IF(!GLESv2Validation::shaderType(ctx, shaderType), GL_INVALID_ENUM, 0); in s_glCreateShader()
2219 RET_AND_SET_ERROR_IF(!isShaderOrProgramObject, GL_INVALID_VALUE, -1); in s_glGetUniformLocation()
2220 RET_AND_SET_ERROR_IF(!isProgram, GL_INVALID_OPERATION, -1); in s_glGetUniformLocation()
2221 RET_AND_SET_ERROR_IF(!ctx->m_shared->getProgramLinkStatus(program), GL_INVALID_OPERATION, -1); in s_glGetUniformLocation()
2635 RET_AND_SET_ERROR_IF((target != GL_TEXTURE_BUFFER_OES), GL_INVALID_ENUM, false); in validateTexBuffer()
2636RET_AND_SET_ERROR_IF(!GLESv2Validation::textureBufferFormat(ctx, internalFormat), GL_INVALID_ENUM,… in validateTexBuffer()
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv2Imp.cpp848RET_AND_SET_ERROR_IF(!GLESv2Validate::framebufferTarget(ctx, target), GL_INVALID_ENUM, GL_FRAMEBUF… in glCheckFramebufferStatus()
1290 RET_AND_SET_ERROR_IF(!GLESv2Validate::shaderType(ctx, type), GL_INVALID_ENUM, 0); in glCreateShader()
2014 RET_AND_SET_ERROR_IF(globalProgramName == 0, GL_INVALID_VALUE, -1); in glGetAttribLocation()
2017 RET_AND_SET_ERROR_IF(objData->getDataType() != PROGRAM_DATA, in glGetAttribLocation()
2021 RET_AND_SET_ERROR_IF(!pData->getLinkStatus(), GL_INVALID_OPERATION, in glGetAttribLocation()
2924 RET_AND_SET_ERROR_IF(true,GL_INVALID_ENUM,NULL); in glGetString()
3004 RET_AND_SET_ERROR_IF(globalProgramName==0, GL_INVALID_VALUE,-1); in glGetUniformLocation()
3007 RET_AND_SET_ERROR_IF(objData->getDataType()!=PROGRAM_DATA,GL_INVALID_OPERATION,-1); in glGetUniformLocation()
3010 RET_AND_SET_ERROR_IF(!pData->getLinkStatus(), GL_INVALID_OPERATION, -1); in glGetUniformLocation()
3908 RET_AND_SET_ERROR_IF(!pData, GL_INVALID_OPERATION, -2); in s_getHostLocOrSetError()
[all …]
DGLESv30Imp.cpp25 RET_AND_SET_ERROR_IF(!GLESv2Validate::bufferTarget(ctx, target),GL_INVALID_ENUM,0); in glMapBufferRange()
32 RET_AND_SET_ERROR_IF(!GLESv2Validate::bufferTarget(ctx, target),GL_INVALID_ENUM,0); in glUnmapBuffer()
528 RET_AND_SET_ERROR_IF(err != GL_NO_ERROR, err, GL_WAIT_FAILED); in glClientWaitSync()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmImp.cpp386RET_AND_SET_ERROR_IF(!GLEScmValidate::capability(cap,ctx->getMaxLights(),ctx->getMaxClipPlanes()),… in glIsEnabled()
434 RET_AND_SET_ERROR_IF(true,GL_INVALID_ENUM,NULL); in glGetString()
2337 RET_AND_SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION,GL_FALSE); in glIsRenderbufferOES()
2501 RET_AND_SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION,GL_FALSE); in glIsFramebufferOES()
2577 RET_AND_SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION,0); in glCheckFramebufferStatusOES()
2578 RET_AND_SET_ERROR_IF(!GLEScmValidate::framebufferTarget(target) ,GL_INVALID_ENUM,0); in glCheckFramebufferStatusOES()
/hardware/google/gfxstream/guest/GLESv1_enc/
DGLEncoder.cpp43 #define RET_AND_SET_ERROR_IF(condition,err,ret) if((condition)) { \ macro