[PATCH 5/5] wined3d: Store the mipmap level in the volume

Stefan Dösinger stefan at codeweavers.com
Mon Aug 19 06:51:49 CDT 2013


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

Am 2013-08-19 12:39, schrieb Henri Verbeet:
> On 19 August 2013 10:52, Stefan Dösinger <stefan at codeweavers.com>
> wrote:
>> +void wined3d_volume_set_texture_level(struct wined3d_volume
>> *volume, GLint level) +{ +    volume->texture_level = level; +}
>> 
> I think that's a step in the wrong direction. I think this should
> be set on volume creation. We do have a construction like this for 
> surfaces, but the reasons for that don't apply to volumes, and I'd 
> like to get rid of it for surfaces as well if at all possible.
That's certainly possible, but it also means adding this information
to the public API and passing it through d3d8/9. I can do whatever you
prefer.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSEgbVAAoJEN0/YqbEcdMw54QQAI7eJh2TgT8J104fWK2JXGDa
ClJ1ERE+dZ3LDoS2qkN7SlxZfFq/l4R5pzuO0Jk/xCLnGYwAxc7jW88R6qUC6RrC
NRSAZF66EQqKBXk+0cE09IArGcra1EOmP5N/hMyNoC2S2yRDuSL2BsZDYzfdxk6f
2Trp5y/k4Zcx8IRol7C9v5b1oKQ67hpJ0Io88ChZH7vgJbpiP/J872/G9F/p3cYh
9UNXRSrsS7ODhvYCRVfvlRSuji3EQNqzZWPVitco7EJjSWOGLCSdj+9qEKHzTQA7
a3WzkJFJ60vtLLvqbdysYMP3uUo8yOMpZiL6trwYhr4jnNrdVExsNdckPvRxQeYD
pURsY0lNEga9XmodYfvNa2CvYn/bt+GtK66uFbYH2elPxCBgmR7DoK3RC/ZrlAFn
ethCEPDRFt148Osv6KH+ngEAa+zRT9yJSOVbIM6MmUahUitsPxbfAhDeBGr0LJF7
zFzZj9Ibd6bTFB0s9m871HrH1zfd66QZuOCD41qxYR9gfxellLnw/T1irqzNNeKS
/vW5F78lvOaHiq1XS3uh7YKXDiZ9fUcLTUV+mbqu3WwPzec5CaB45pszYZR+d6Bt
Tii3cZMhDYSLDM8zyGyw9EggYZ7Y99BGVGw1c11zj+MD8J1jbCSDfcWEMjrKHaPU
vDfMO13qYmKgeDzUUBRN
=dh6d
-----END PGP SIGNATURE-----



More information about the wine-devel mailing list