Lines Matching defs:convert

1561                  * separate block of memory and convert them into palettized format
1803 CONVERT_TYPES convert;
1808 d3dfmt_get_conv(surface, TRUE, TRUE, &desc, &convert);
1809 if(convert != NO_CONVERSION) surface->Flags |= SFLAG_CONVERTED;
1823 CONVERT_TYPES convert;
1828 d3dfmt_get_conv(This, TRUE, TRUE, &desc, &convert);
1829 if(convert != NO_CONVERSION) This->Flags |= SFLAG_CONVERTED;
2442 HRESULT d3dfmt_get_conv(IWineD3DSurfaceImpl *This, BOOL need_alpha_ck, BOOL use_texturing, struct wined3d_format_desc *desc, CONVERT_TYPES *convert)
2452 *convert = NO_CONVERSION;
2481 *convert = CONVERT_PALETTED_CK;
2483 *convert = CONVERT_PALETTED;
2501 *convert = CONVERT_CK_565;
2511 *convert = CONVERT_CK_5551;
2521 *convert = CONVERT_CK_RGB24;
2531 *convert = CONVERT_RGB32_888;
2627 UINT height, UINT outpitch, CONVERT_TYPES convert, IWineD3DSurfaceImpl *This)
2631 TRACE("(%p)->(%p),(%d,%d,%d,%d,%p)\n", src, dst, pitch, height, outpitch, convert,This);
2633 switch (convert) {
2650 d3dfmt_p8_init_palette(This, table, (convert == CONVERT_PALETTED_CK));
2775 ERR("Unsupported conversion type %#x.\n", convert);
2867 if (!(This->Flags & SFLAG_DONOTFREE) && !This->resource.format_desc->convert) {
4210 CONVERT_TYPES convert;
4266 &desc, &convert);
4268 if (desc.convert || convert != NO_CONVERSION)
4274 if((convert != NO_CONVERSION) && (Src->Flags & SFLAG_PBO)) {
4293 if(desc.convert) {
4309 desc.convert(Src->resource.allocatedMemory, mem, srcPitch, srcWidth, srcHeight);
4310 } else if((convert != NO_CONVERSION) && Src->resource.allocatedMemory) {
4327 d3dfmt_convert_surface(Src->resource.allocatedMemory, mem, srcPitch, srcWidth, srcHeight, outpitch, convert, Src);
5026 CONVERT_TYPES convert;
5095 /* This needs a shader to convert the srgb data sampled from the GL texture into RGB
5102 d3dfmt_get_conv(This, FALSE /* We need color keying */, FALSE /* We won't use textures */, &desc, &convert);
5110 if ((convert != NO_CONVERSION) && (This->Flags & SFLAG_PBO))
5121 if((convert != NO_CONVERSION) && This->resource.allocatedMemory) {
5134 d3dfmt_convert_surface(This->resource.allocatedMemory, mem, pitch, width, height, outpitch, convert, This);
5160 &desc, &convert);
5199 if((convert != NO_CONVERSION) && (This->Flags & SFLAG_PBO)) {
5204 if(desc.convert) {
5218 desc.convert(This->resource.allocatedMemory, mem, pitch, width, height);
5219 } else if((convert != NO_CONVERSION) && This->resource.allocatedMemory) {
5233 d3dfmt_convert_surface(This->resource.allocatedMemory, mem, pitch, width, height, outpitch, convert, This);