Lines Matching defs:textype

6182     const char *textype;
6318 case tex_1d: textype = "1D"; break;
6319 case tex_2d: textype = "2D"; break;
6320 case tex_3d: textype = "3D"; break;
6321 case tex_cube: textype = "CUBE"; break;
6322 case tex_rect: textype = "RECT"; break;
6323 default: textype = "unexpected_textype"; break;
6361 instr, stage, stage, textype);
6372 instr, stage, stage, textype);
6375 instr, stage, stage, stage, textype);
6809 GLenum textype, char *luminance)
6821 switch(textype) {
6844 if(textype != GL_TEXTURE_RECTANGLE_ARB) {
6896 static BOOL gen_yv12_read(struct wined3d_shader_buffer *buffer, GLenum textype, char *luminance)
6902 switch(textype) {
6962 if(textype == GL_TEXTURE_2D) {
7012 if(textype == GL_TEXTURE_2D) {
7025 if(textype == GL_TEXTURE_2D) {
7046 const struct wined3d_gl_info *gl_info, GLenum textype)
7074 if(textype == GL_TEXTURE_RECTANGLE_ARB)
7098 if (textype == GL_TEXTURE_RECTANGLE_ARB)
7153 enum complex_fixup yuv_fixup, GLenum textype)
7226 if (!gen_planar_yuv_read(&buffer, yuv_fixup, textype, &luminance_component))
7234 if (!gen_yv12_read(&buffer, textype, &luminance_component))
7284 if (textype == GL_TEXTURE_RECTANGLE_ARB) priv->yuy2_rect_shader = shader;
7289 if (textype == GL_TEXTURE_RECTANGLE_ARB) priv->uyvy_rect_shader = shader;
7294 if (textype == GL_TEXTURE_RECTANGLE_ARB) priv->yv12_rect_shader = shader;
7312 GLenum textype;
7315 textype = surface->container->target;
7317 textype = surface->texture_target;
7321 gl_info->gl_ops.gl.p_glEnable(textype);
7322 checkGLcall("glEnable(textype)");
7331 gl_info->gl_ops.gl.p_glEnable(textype);
7332 checkGLcall("glEnable(textype)");
7341 shader = textype == GL_TEXTURE_RECTANGLE_ARB ? priv->yuy2_rect_shader : priv->yuy2_2d_shader;
7345 shader = textype == GL_TEXTURE_RECTANGLE_ARB ? priv->uyvy_rect_shader : priv->uyvy_2d_shader;
7349 shader = textype == GL_TEXTURE_RECTANGLE_ARB ? priv->yv12_rect_shader : priv->yv12_2d_shader;
7353 shader = textype == GL_TEXTURE_RECTANGLE_ARB ? priv->p8_rect_shader : priv->p8_2d_shader;
7354 if (!shader) shader = gen_p8_shader(priv, gl_info, textype);
7361 gl_info->gl_ops.gl.p_glEnable(textype);
7362 checkGLcall("glEnable(textype)");
7366 if (!shader) shader = gen_yuv_shader(priv, gl_info, fixup, textype);