Re: [1] WineD3D: Add the state dirtification infrastructure

2006-12-18 Thread Stefan Dösinger
Am Montag 18 Dezember 2006 19:25 schrieb Stefan Dösinger: Another issue I stumbled uppon: This patch moves the + 1 for the array declaration to the right place. > Am Montag 18 Dezember 2006 14:06 schrieb Stefan Dösinger: > Another update, it fixes an spotted by Henri issue where the state was use

Re: [1] WineD3D: Add the state dirtification infrastructure

2006-12-17 Thread Stefan Dösinger
Am Samstag 16 Dezember 2006 16:51 schrieben Sie: > Stefan Dösinger <[EMAIL PROTECTED]> writes: > > The main arguments for a list were: > > > > * The shader constant code uses it too. It keeps the code somewhat > > simmilar * memory usage. An array has a fixed sizeof(DWORD) * > > STATE_HIGHEST mem u

Re: [1] WineD3D: Add the state dirtification infrastructure

2006-12-16 Thread Alexandre Julliard
Stefan Dösinger <[EMAIL PROTECTED]> writes: > The main arguments for a list were: > > * The shader constant code uses it too. It keeps the code somewhat simmilar > * memory usage. An array has a fixed sizeof(DWORD) * STATE_HIGHEST mem usage, > while a list has sizeof(DWORD) + 2*sizeof(void *) * n

Re: [1] WineD3D: Add the state dirtification infrastructure

2006-12-15 Thread Stefan Dösinger
Am Freitag 15 Dezember 2006 18:31 schrieb Stefan Dösinger: > This patch adds the dirty list infrastructure. A dirty marker consists of a > DWORD containing the state it marks dirty, and the list structure to build > the list. > > The wined3ddevice has 3 new members: > dirtyStateList: The list of di