On Mon, 7 Jun 2021 at 12:36, Nikolay Sivov nsivov@codeweavers.com wrote:
Signed-off-by: Nikolay Sivov nsivov@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.