Module: wine Branch: master Commit: 4eaa424c795c9c5ed4a772898297e692a5a2b2b0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4eaa424c795c9c5ed4a7728982...
Author: Roderick Colenbrander thunderbird2k@gmx.net Date: Fri Mar 28 10:02:39 2008 +0100
wined3d: Initial post pixelshader blending support. [attempt 2].
For each pixel format we store a flag in the table whether it supports post pixelshader blending. Before applying blending or during a context switch we verify that blending is turned off for the format. In case of R32F this gave a 5-6x performance boost (without filtering and software conversion).
---
dlls/wined3d/context.c | 6 +- dlls/wined3d/state.c | 14 +++- dlls/wined3d/utils.c | 126 +++++++++++++++++----------------- dlls/wined3d/wined3d_private_types.h | 3 + include/wine/wined3d_gl.h | 1 + 5 files changed, 84 insertions(+), 66 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=4eaa424c795c9c5ed4a772...