[PATCH 10/10] wined3d: Add BLT_OP_COLOR_FILL to blit_supported and use it in BltOverride.

Henri Verbeet hverbeet at gmail.com
Mon Apr 12 07:31:53 CDT 2010


On 12 April 2010 12:44, Roderick Colenbrander <thunderbird2k at gmail.com> wrote:
> +            if (ffp_blit.blit_supported(&myDevice->adapter->gl_info, BLIT_OP_COLOR_FILL,
> +                                        NULL, 0, 0, NULL,
> +                                        &dst_rect, This->resource.usage, This->resource.pool, This->resource.format_desc))
> +            {
> +                return ffp_blit.color_fill(myDevice, This, &dst_rect, color);
>             }
>
> -            return ffp_blit.color_fill(myDevice, This, &dst_rect, color);
> +            return cpu_blit.color_fill(myDevice, This, &dst_rect, color);
>         }
>     }
>
Going through struct blit_shader means that you should also check if
cpu_blit can do that operation.


More information about the wine-devel mailing list