HomeSort by relevance Sort by last modified time
    Searched refs:SET_ERROR_IF (Results 1 - 6 of 6) sorted by null

  /sdk/emulator/opengl/host/libs/Translator/GLcommon/
TextureUtils.cpp 60 SET_ERROR_IF((compressedSize > imageSize), GL_INVALID_VALUE);
68 SET_ERROR_IF(res!=0, GL_INVALID_VALUE);
85 SET_ERROR_IF(level > log2(ctx->getMaxTexSize()) ||
106 SET_ERROR_IF(1, GL_INVALID_ENUM);
  /sdk/emulator/opengl/host/libs/Translator/GLES_V2/
GLESv2Imp.cpp 145 SET_ERROR_IF (!GLESv2Validate::textureEnum(texture,ctx->getMaxTexUnits()),GL_INVALID_ENUM);
154 SET_ERROR_IF(globalProgramName==0, GL_INVALID_VALUE);
156 SET_ERROR_IF(globalShaderName==0, GL_INVALID_VALUE);
160 SET_ERROR_IF(!shaderData.Ptr() || !programData.Ptr() ,GL_INVALID_OPERATION);
161 SET_ERROR_IF(!(shaderData.Ptr()->getDataType() ==SHADER_DATA) ||
166 SET_ERROR_IF((pData->getAttachedShader(shaderType)!=0), GL_INVALID_OPERATION);
174 SET_ERROR_IF(!GLESv2Validate::attribName(name),GL_INVALID_OPERATION);
175 SET_ERROR_IF(!GLESv2Validate::attribIndex(index),GL_INVALID_VALUE);
178 SET_ERROR_IF(globalProgramName==0, GL_INVALID_VALUE);
180 SET_ERROR_IF(objData.Ptr()->getDataType()!=PROGRAM_DATA,GL_INVALID_OPERATION)
    [all...]
  /sdk/emulator/opengl/host/libs/Translator/GLES_CM/
GLEScmImp.cpp 270 SET_ERROR_IF(!GLEScmValidate::textureEnum(texture,ctx->getMaxTexUnits()),GL_INVALID_ENUM);
277 SET_ERROR_IF(!GLEScmValidate::alphaFunc(func),GL_INVALID_ENUM);
284 SET_ERROR_IF(!GLEScmValidate::alphaFunc(func),GL_INVALID_ENUM);
291 SET_ERROR_IF(!GLEScmValidate::bufferTarget(target),GL_INVALID_ENUM);
308 SET_ERROR_IF(!GLEScmValidate::textureTarget(target),GL_INVALID_ENUM)
326 SET_ERROR_IF(ctx->GLTextureTargetToLocal(texData->target) != ctx->GLTextureTargetToLocal(target), GL_INVALID_OPERATION);
336 SET_ERROR_IF(!GLEScmValidate::blendSrc(sfactor) || !GLEScmValidate::blendDst(dfactor),GL_INVALID_ENUM)
342 SET_ERROR_IF(!GLEScmValidate::bufferTarget(target),GL_INVALID_ENUM);
343 SET_ERROR_IF(!ctx->isBindedBuffer(target),GL_INVALID_OPERATION);
349 SET_ERROR_IF(!ctx->isBindedBuffer(target),GL_INVALID_OPERATION)
    [all...]
  /sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
GLESmacros.h 34 #define SET_ERROR_IF(condition,err) if((condition)) { \
  /sdk/emulator/opengl/system/GLESv2_enc/
GL2Encoder.cpp 30 #define SET_ERROR_IF(condition,err) if((condition)) { \
183 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION);
184 SET_ERROR_IF(size<0, GL_INVALID_VALUE);
194 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION);
197 SET_ERROR_IF(res, res);
205 SET_ERROR_IF(n<0, GL_INVALID_VALUE);
455 SET_ERROR_IF(count<0, GL_INVALID_VALUE);
640 SET_ERROR_IF(!shaderData, GL_INVALID_VALUE);
711 SET_ERROR_IF(!ctx->m_shared->isProgram(program), GL_INVALID_VALUE);
712 SET_ERROR_IF(!ctx->m_shared->isProgramInitialized(program), GL_INVALID_OPERATION)
    [all...]
  /sdk/emulator/opengl/system/GLESv1_enc/
GLEncoder.cpp 31 #define SET_ERROR_IF(condition,err) if((condition)) { \
365 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION);
366 SET_ERROR_IF(size<0, GL_INVALID_VALUE);
376 SET_ERROR_IF(bufferId==0, GL_INVALID_OPERATION);
379 SET_ERROR_IF(res, res);
387 SET_ERROR_IF(n<0, GL_INVALID_VALUE);
522 SET_ERROR_IF(count<0, GL_INVALID_VALUE);
795 SET_ERROR_IF((target == GL_TEXTURE_EXTERNAL_OES &&
814 SET_ERROR_IF((target == GL_TEXTURE_EXTERNAL_OES &&
833 SET_ERROR_IF((target == GL_TEXTURE_EXTERNAL_OES &
    [all...]

Completed in 3108 milliseconds