OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SET_ERROR_IF
(Results
1 - 6
of
6
) sorted by null
/development/tools/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);
/development/tools/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
...]
/development/tools/emulator/opengl/host/libs/Translator/GLES_CM/
GLEScmImp.cpp
271
SET_ERROR_IF
(!GLEScmValidate::textureEnum(texture,ctx->getMaxTexUnits()),GL_INVALID_ENUM);
278
SET_ERROR_IF
(!GLEScmValidate::alphaFunc(func),GL_INVALID_ENUM);
285
SET_ERROR_IF
(!GLEScmValidate::alphaFunc(func),GL_INVALID_ENUM);
292
SET_ERROR_IF
(!GLEScmValidate::bufferTarget(target),GL_INVALID_ENUM);
309
SET_ERROR_IF
(!GLEScmValidate::textureTarget(target),GL_INVALID_ENUM)
327
SET_ERROR_IF
(ctx->GLTextureTargetToLocal(texData->target) != ctx->GLTextureTargetToLocal(target), GL_INVALID_OPERATION);
337
SET_ERROR_IF
(!GLEScmValidate::blendSrc(sfactor) || !GLEScmValidate::blendDst(dfactor),GL_INVALID_ENUM)
343
SET_ERROR_IF
(!GLEScmValidate::bufferTarget(target),GL_INVALID_ENUM);
344
SET_ERROR_IF
(!ctx->isBindedBuffer(target),GL_INVALID_OPERATION);
350
SET_ERROR_IF
(!ctx->isBindedBuffer(target),GL_INVALID_OPERATION)
[
all
...]
/development/tools/emulator/opengl/host/libs/Translator/include/GLcommon/
GLESmacros.h
34
#define
SET_ERROR_IF
(condition,err) if((condition)) { \
/development/tools/emulator/opengl/system/GLESv2_enc/
GL2Encoder.cpp
10
#define
SET_ERROR_IF
(condition,err) if((condition)) { \
148
SET_ERROR_IF
(bufferId==0, GL_INVALID_OPERATION);
149
SET_ERROR_IF
(size<0, GL_INVALID_VALUE);
159
SET_ERROR_IF
(bufferId==0, GL_INVALID_OPERATION);
162
SET_ERROR_IF
(res, res);
170
SET_ERROR_IF
(n<0, GL_INVALID_VALUE);
337
SET_ERROR_IF
(count<0, GL_INVALID_VALUE);
494
SET_ERROR_IF
(!(ctx->m_shared->isProgram(program) || ctx->m_shared->isShader(program)), GL_INVALID_VALUE);
495
SET_ERROR_IF
(!ctx->m_shared->isProgramInitialized(program), GL_INVALID_OPERATION);
497
SET_ERROR_IF
(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION)
[
all
...]
/development/tools/emulator/opengl/system/GLESv1_enc/
GLEncoder.cpp
39
#define
SET_ERROR_IF
(condition,err) if((condition)) { \
283
SET_ERROR_IF
(bufferId==0, GL_INVALID_OPERATION);
284
SET_ERROR_IF
(size<0, GL_INVALID_VALUE);
294
SET_ERROR_IF
(bufferId==0, GL_INVALID_OPERATION);
297
SET_ERROR_IF
(res, res);
305
SET_ERROR_IF
(n<0, GL_INVALID_VALUE);
440
SET_ERROR_IF
(count<0, GL_INVALID_VALUE);
Completed in 255 milliseconds