[WINED3D] stateblocks samplers swapchains - 2

Oliver Stieber oliver_stieber at yahoo.co.uk
Mon Jun 13 09:09:46 CDT 2005


properly merged this time...
--- Marcus Meissner <marcus at jet.franken.de> wrote:

> On Mon, Jun 13, 2005 at 01:45:02AM +0100, Oliver
> Stieber wrote:
> 
> I do not think this even compiled for you, there are
> CVS merge conflicts in
> the patch, see below...
> 
It compiled on Thursday, but my monitor has blown up .
I'm currently putting patches together using my PDA
and a horribly out of focus monitor and didn't notice
the extra changes.

> Can you _please_ work in getting patches into WINE?
> If possibles Cancel Norton AntiVirus Disclaimer 
Check Mail Ctrl+shift+C
Compose Ctrl+shift+P
Folders Ctrl+shift+F
Advanced Search Ctrl+shift+S
Options
Help Ctrl+shift+H
Add Contact
Add Category
Add List
View Contacts
View Lists
Quickbuilder
Import Contacts
Synchronise
Addresses Options
Addresses Help
Add Event
Add Task
Add Birthday
Day
Week
Month
Year
Event List
Reminders
Tasks
Sharing
Synchronise
Calendar Options
Calendar Help
Add Note
Add Folder
View Notes
Notepad Options
Notepad Help
Advanced Search
le
> small and self contained.
I'll try, but I've been off the net for the past month
and have another 500k of changes, including caching,
vertex shaders, caching, vertex buffer objects and
rewritten non-power2 textures.
> 
> This would help all of us. :/
see attached.
> 
> Ciao, Marcus
> 
> 
> 
> 
> ....
> @@ -412,17 +571,24 @@
>      while (pow2Width < Width) pow2Width <<= 1;
>      while (pow2Height < Height) pow2Height <<= 1;
>  
> +<<<<<<< device.c
> +    /* TODO: support for non-power 2 textures */
> +    if((pow2Width > Width || pow2Height > Height)
> && !Usage & D3DUSAGE_RENDERTARGET){
> +        /** TODO: add support for non power two
> compressed textures (OpenGL provices support for *
> non-power-two textures gratis) **/
> +        FIXME("Non-power 2 textures are not
> supported\n");
> +=======
>      if(pow2Width > Width || pow2Height > Height){
>          FIXME("non-power-two textures
> unsupported\n"); /* OpenGL provides support for
> these gratis */
> +>>>>>>> 1.31
>          return D3DERR_NOTAVAILABLE;
>      }
>  
> ......
> 
> 
> 
> -    HDC                 hDc;
> +                                          
> IWineD3DDevice** ppReturnedDeviceInterface, IUnknown
> *parent,
> +                                          
> D3DCB_CREATEADDITIONALSWAPCHAIN
> D3DCB_CreateAdditionalSwapChain) {
>      IWineD3DDeviceImpl *object  = NULL;
>      IWineD3DImpl       *This    = (IWineD3DImpl
> *)iface;
> +<<<<<<< directx.c
> +    IWineD3DSwapChainImpl *swapchain;
> +=======
>      int                 num;
>      XVisualInfo         template;
>      HRESULT             res;
> +>>>>>>> 1.31
>  
> ......
>  
> +<<<<<<< directx.c
> +        /* Initialize the current view state */
> +        object->modelview_valid = 1;
> +        object->proj_valid = 0;
> +        object->view_ident = 1;
> +        object->last_was_rhw = 0;
> +        glGetIntegerv(GL_MAX_LIGHTS,
> &object->maxConcurrentLights);
> +        TRACE("(%p,%d) All defaults now set up,
> leaving CreateDevice with %p\n", This, Adapter,
> object);
> +=======
>          /* Change the display settings */
>          memset(&devmode, 0, sizeof(DEVMODEW));
>          devmode.dmFields     = DM_BITSPERPEL |
> DM_PELSWIDTH | DM_PELSHEIGHT; 
> @@ -1709,67 +1743,14 @@
>       
> IDirect3DSurface8Impl_AddRef((LPDIRECT3DSURFACE8)
> object->stencilBufferTarget);
>      }
>  */    
> +>>>>>>> 1.31
>  
> -    /* Set up some starting GL setup */
> -    ENTER_GL();
> +        /* Clear the screen */
> +        IWineD3DDevice_Clear((IWineD3DDevice *)
> object, 0, NULL,
> D3DCLEAR_STENCIL|D3DCLEAR_ZBUFFER|D3DCLEAR_TARGET,
> 0x00, 1.0, 0);
>  
> 


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d-stateblocks-samplers-swapchains-os-4.patch
Type: text/x-diff
Size: 438058 bytes
Desc: 1609161948-wined3d-stateblocks-samplers-swapchains-os-4.patch
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050613/75033bea/wined3d-stateblocks-samplers-swapchains-os-4.bin


More information about the wine-patches mailing list