Lines Matching defs:textype

5702     const char *textype;
5812 case tex_1d: textype = "1D"; break;
5813 case tex_2d: textype = "2D"; break;
5814 case tex_3d: textype = "3D"; break;
5815 case tex_cube: textype = "CUBE"; break;
5816 case tex_rect: textype = "RECT"; break;
5817 default: textype = "unexpected_textype"; break;
5861 instr, sat, stage, stage, textype);
5871 instr, sat, stage, stage, textype);
5874 instr, sat, stage, stage, stage, textype);
6310 GLenum textype, char *luminance)
6322 switch(textype) {
6345 if(textype != GL_TEXTURE_RECTANGLE_ARB) {
6397 static BOOL gen_yv12_read(struct wined3d_shader_buffer *buffer, GLenum textype, char *luminance)
6401 switch(textype) {
6460 if(textype == GL_TEXTURE_2D) {
6510 if(textype == GL_TEXTURE_2D) {
6523 if(textype == GL_TEXTURE_2D) {
6543 static GLuint gen_p8_shader(IWineD3DDeviceImpl *device, GLenum textype)
6573 if(textype == GL_TEXTURE_RECTANGLE_ARB)
6598 if (textype == GL_TEXTURE_RECTANGLE_ARB)
6642 static GLuint gen_yuv_shader(IWineD3DDeviceImpl *device, enum complex_fixup yuv_fixup, GLenum textype)
6717 if (!gen_planar_yuv_read(&buffer, yuv_fixup, textype, &luminance_component))
6725 if (!gen_yv12_read(&buffer, textype, &luminance_component))
6777 if (textype == GL_TEXTURE_RECTANGLE_ARB) priv->yuy2_rect_shader = shader;
6782 if (textype == GL_TEXTURE_RECTANGLE_ARB) priv->uyvy_rect_shader = shader;
6787 if (textype == GL_TEXTURE_RECTANGLE_ARB) priv->yv12_rect_shader = shader;
6805 GLenum textype = surface->texture_target;
6813 glEnable(textype);
6814 checkGLcall("glEnable(textype)");
6824 shader = textype == GL_TEXTURE_RECTANGLE_ARB ? priv->yuy2_rect_shader : priv->yuy2_2d_shader;
6828 shader = textype == GL_TEXTURE_RECTANGLE_ARB ? priv->uyvy_rect_shader : priv->uyvy_2d_shader;
6832 shader = textype == GL_TEXTURE_RECTANGLE_ARB ? priv->yv12_rect_shader : priv->yv12_2d_shader;
6836 shader = textype == GL_TEXTURE_RECTANGLE_ARB ? priv->p8_rect_shader : priv->p8_2d_shader;
6837 if (!shader) shader = gen_p8_shader(device, textype);
6845 glEnable(textype);
6846 checkGLcall("glEnable(textype)");
6851 if (!shader) shader = gen_yuv_shader(device, fixup, textype);