[4/4 try 3] wined3d: Make FBO draw buffer selection in ActivateContext
Allan Tong
actong88 at gmail.com
Thu Dec 20 23:29:28 CST 2007
This merges FBO draw buffer selection into ActivateContext. The
behavior for offscreen rendering depends on the specified context
usage. For CTXUSAGE_DRAWPRIM and CTXUSAGE_CLEAR, apply_fbo_state is
used to apply the render target state. For CTXUSAGE_BLIT, the target
surface is attached to dst_fbo and used as the drawable. Nothing is
done for CTXUSAGE_RESOURCELOAD. Along with the previous patch, the
incomplete FBO error in the ddraw visual test that appeared in my
previous try should not happen anymore.
- Allan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-wined3d-Make-FBO-draw-buffer-selection-in-ActivateC.patch
Type: text/x-patch
Size: 7106 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071221/e8e4efa2/attachment-0001.bin
More information about the wine-patches
mailing list