[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 2/4] wined3d: Do not use double-buffered dynamic buffers
From:       Stefan =?ISO-8859-1?Q?D=F6singer?= <stefan () codeweavers ! com>
Date:       2012-02-28 14:29:40
Message-ID: 1383108.04GOpVkNg7 () macbookpro
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Am Dienstag, 28. Februar 2012, 14:50:28 schrieb Henri Verbeet:
> Ok, but we could just be more clever about doing uploads and only
> upload what's actually referenced by draws. We already have most of
> the code for tracking uploaded ranges. Similarly, are we really sure
> that maintaining a sysmem copy of the entire buffer is really better
> than mapping the VBO for drawStridedSlow() in the first place? At some
> point the data needs to be sent to the GPU, and I think we're in a
> better position to decide what to upload and when than the driver.
Indexed draws will be tricky, it depends on how decent the app-provided index 
ranges are. It also means we'd have to track which parts of the VB are 
uploaded and which aren't.

Mapping the VBO in drawStridedSlow might be an option, although I guess that 
would force the driver to wait until previous draws are done.

All those options are out of reach for Wine 1.4, and beyond Wine 1.4 I'd 
prefer to fix the problems that force us into drawStridedSlow by implementing 
a vertex pipeline and proper instancing.

["signature.asc" (application/pgp-signature)]



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic