[PATCH 1/2] d2d1: Reset bitmap brush sampler state only if parameters have changed.

Henri Verbeet hverbeet at gmail.com
Mon Jun 7 09:51:24 CDT 2021


On Mon, 7 Jun 2021 at 12:36, Nikolay Sivov <nsivov at codeweavers.com> wrote:
> Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
> ---
>  dlls/d2d1/brush.c | 37 +++++++++++++++++++++----------------
>  1 file changed, 21 insertions(+), 16 deletions(-)
>
Note that the number of possible unique sampler states is fairly
limited in d2d1. It may make more sense to just cache these in the
d2d_device_context structure, instead of storing them in the d2d_brush
structure.



More information about the wine-devel mailing list