On 14/06/07, Stefan Dösinger stefandoesinger@gmx.at wrote:
The patch removes the clearing from Present, except for the DISCARD swap effect if the d3d trace channel is on.
It sounds a bit questionable to have different behaviour depending on the debug channel.
It sounds a bit questionable to have different behaviour depending on the debug channel.
My idea is that such a clear is not needed, but costly, and I left it there for debugging. Microsoft says that the debug runtime does that too. We don't have a debug runtime, but our debug channels are closest to that.
On 14/06/07, Stefan Dösinger stefandoesinger@gmx.at wrote:
It sounds a bit questionable to have different behaviour depending on the debug channel.
My idea is that such a clear is not needed, but costly, and I left it there for debugging. Microsoft says that the debug runtime does that too. We don't have a debug runtime, but our debug channels are closest to that.
If you really want to use a debugchannel for that, I don't think you should use an existing one.