Lines Matching defs:enmTexTarget
1182 static const char* crGlslGetFsStringNoAlpha(CR_GLSL_CACHE *pCache, GLenum enmTexTarget)
1192 if (enmTexTarget == GL_TEXTURE_2D)
1194 else if (enmTexTarget == GL_TEXTURE_RECTANGLE_ARB)
1197 crWarning("invalid enmTexTarget %#x", enmTexTarget);
1202 if (enmTexTarget == GL_TEXTURE_2D)
1204 else if (enmTexTarget == GL_TEXTURE_RECTANGLE_ARB)
1207 crWarning("invalid enmTexTarget %#x", enmTexTarget);
1215 static int crGlslProgGenNoAlpha(CR_GLSL_CACHE *pCache, GLenum enmTexTarget, GLuint *puiProgram)
1219 const char*pStrFsShader = crGlslGetFsStringNoAlpha(pCache, enmTexTarget);
1324 DECLINLINE(GLuint) crGlslProgGetNoAlpha(const CR_GLSL_CACHE *pCache, GLenum enmTexTarget)
1326 switch (enmTexTarget)
1333 crWarning("invalid tex enmTexTarget %#x", enmTexTarget);
1338 DECLINLINE(GLuint*) crGlslProgGetNoAlphaPtr(CR_GLSL_CACHE *pCache, GLenum enmTexTarget)
1340 switch (enmTexTarget)
1347 crWarning("invalid tex enmTexTarget %#x", enmTexTarget);
1352 VBOXBLITTERDECL(int) CrGlslProgGenNoAlpha(CR_GLSL_CACHE *pCache, GLenum enmTexTarget)
1354 GLuint*puiProgram = crGlslProgGetNoAlphaPtr(pCache, enmTexTarget);
1361 return crGlslProgGenNoAlpha(pCache, enmTexTarget, puiProgram);
1388 VBOXBLITTERDECL(int) CrGlslProgUseNoAlpha(const CR_GLSL_CACHE *pCache, GLenum enmTexTarget)
1390 GLuint uiProg = crGlslProgGetNoAlpha(pCache, enmTexTarget);
1404 VBOXBLITTERDECL(int) CrGlslProgUseGenNoAlpha(CR_GLSL_CACHE *pCache, GLenum enmTexTarget)
1406 GLuint uiProg = crGlslProgGetNoAlpha(pCache, enmTexTarget);
1409 int rc = CrGlslProgGenNoAlpha(pCache, enmTexTarget);
1416 uiProg = crGlslProgGetNoAlpha(pCache, enmTexTarget);