[PATCH 2/2] d3drm: Partially Implement IDirect3DRM*::LoadTexture(v2).

Aaryaman Vasishta jem456.vasishta at gmail.com
Sun Mar 27 13:23:47 CDT 2016


The max resolution I tried which passed the tests was greater than 65535,
hmm. Am I missing something?

On Sun, Mar 27, 2016 at 9:20 PM, Stefan Dösinger <stefandoesinger at gmail.com>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Am 2016-03-27 um 14:17 schrieb Aaryaman Vasishta:
> > What should be the max. resolution for the texture? I'm getting
> > D3DRMERR_BADALLOC if the resolution is >= 13K x 13K @ 24bpp on my
> > win8.1 machine with 16GB RAM. Maybe the max resolution might depend
> > on the system? I think setting a max resolution of 4K should be
> > fine, I guess.
> Probably the max d3d texture size?
>
> Someone sent tests a long time ago that showed that the max ddraw
> surface size is 65535 for sysmem (and presumably HW if the HW limit is
> beyond this in d3d8+).
>
> At some point you'll hit the 2G address space limit. There's also a
> chance that even if enough address space is free it is fragmented too
> much to support your texture.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQIcBAEBCAAGBQJW+AEqAAoJEN0/YqbEcdMwu7EP/3cWlguPiED/CkHNyK2CiWZm
> CazSETN6zor6pwRN32yaofQZ1nv3LMt2TlQ4EfYQVvXoZj1kCj9yoxPOwGLN4cgl
> /hzMGPXPGc8A65z3gbgZot2D/CcRl4Bmxx54XwZr7ycGHFCMnG+iS0KJdHc1DUMS
> HkQ2Nb0CSUwf4ZV4Xxyx0OP3UEE7usqN1J9jxuLmRt1tMyfXfdsXWD+VWBl/A8RF
> pRSvXWqWoMmPb5J+0FBbdrwDQdhJT/+NVm8t46C6c+AMt+KTl1SSO41DGix2Loav
> NzELZuFGF7pnwhiFvuf04UfvFF8MHWAal9O7c7fXqwD0MXKt9kYokzqL+p8LIiOj
> wuRXF/A9atvg9PfPcuFslWctN0hUIc3vIDsvS9a6vBjB9oApavjb9R7y1g5rpLY6
> nku+LHLKTbWtt81JzgOCxNB8vTfaEwKjefoy4PRq+YFPsNmtCL11P9dnaUe7LCsl
> ZXqDzUVcMRwjfsEg879k67gTdt+fsjdPpJQrm6VnoQTJxQRC6KTySwcNBLHqxWOJ
> Ch8oaBzk9ByKtL9AwTrt0/YuSKv5IRVrv+tyb6xmXo5YJHYRl6HQ5hHaUPIBPTeh
> E4OYoGSkPtqP4hDtDh4tBucDNwxhd0VkZFgMMAc2DI9izxWmasI5+85HGkHkINlp
> aSyJHCbU0fqp9Meg1w8A
> =FCyH
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20160327/b7a1979b/attachment.html>


More information about the wine-devel mailing list