[PATCH 1/4] d3d9/tests: Add a windowed GetFrontBufferData test.

Stefan Dösinger stefandoesinger at gmail.com
Wed Jul 15 09:03:17 CDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 2015-07-15 um 14:41 schrieb Henri Verbeet:
> On 15 July 2015 at 13:58, Stefan Dösinger
> <stefandoesinger at gmail.com> wrote:
>> Yeah, it's ugly, but in the patchset I kept it for now because
>> there are plenty of other problems to solve as well. How we flip
>> the surfaces or surface contents is fairly easy to separate from
>> the rest of the issues we need to fix.
>> 
> I think it's kind of fundamental to the overall design. (And I
> think I mentioned this before.)
Do you have any thoughts on how this should work? Otherwise my plan is
to go for the client lib callback idea (or make the client libs update
their pointers automatically after a present call) and write some
tests for how dxgi swap effects and multiple backbuffers work and see
what happens.

I'll resend the GL drawable clipping and frontbuffer size patches soon
and plan to go on to add separate texture pointers in the swapchain
for the WGL back and front buffers. The WGL back buffer is needed to
use wined3d_surface_blt from the FBO back buffer to the WGL back
buffer. The front buffer separation is for consistency for now, but
will later be used to separate the shadow front buffer from the real
front buffer. I don't expect the flipping solution to influence this
because we'll never flip the WGL buffers and at best invalidate their
non-drawable locations.

(Wrt the polygon offset stuff, I'm waiting for Matteo's test draw work
before resending that).

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVpmglAAoJEN0/YqbEcdMwEoAQAJATAWQ9p1Vb33wKd9XvdIYp
3cMDL/hjgQONVx64t4ACKXQI5/wfmufWqaA112YnAq2DCiARRc//Nl49zBdf74CA
WrTgsqlAittA9H0QI542Cd1sIPFlNRxFPO83dzuLAVhsRrUh0M0plCGSJUyWApV9
EQh7COqUVvIPjHDYOX3Hsn5Dlfi0Vi92Fih2wA6VQUVnPobOyVkq+7IbmDiGYaIc
dBRg2Ijzfd5KZMsZOdbl/ySjX82BNpnq9puQQf7naTGwGNjBoJiyjNbMBExroUpp
p9peqgdlc1V0QWvDBJGksLMbXyEpSPajOR7t2SvTrXsWtjCtmIBL+4x1BZuEcWQv
Hl2BYYswFePg1ShNHnzcOyya3VVxTEqhDH/EWty+uQjayDPsHdmb9nq6OhXcSgkY
bboKnjaEll6sJMWJpUM8YTtF7UoXNig1eL/WykPjK1AdOhyiWnTKDGvKiNU8rFhK
Jwt49O4MyOFtzL6mllhhNHPMsOrWqiHnx5uP7s+3KLazrM8N3EpomxhtaLnNg8tp
pQYHQz744ph69mvKBYvEThmL0E6oCFahypIqzu8VruhVis2OPTzvPJBXViGfOwKC
hfo9qQiBjOyLfUUv5zgMSxa7bDJP8lHZMgqBxcJaT/4vNhHpub92oV3ptCIzwL/h
VY5ajnPijSmVIGLOXPhR
=Be+t
-----END PGP SIGNATURE-----



More information about the wine-devel mailing list