<div dir="ltr">The max resolution I tried which passed the tests was greater than 65535, hmm. Am I missing something?<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 27, 2016 at 9:20 PM, Stefan Dösinger <span dir="ltr"><<a href="mailto:stefandoesinger@gmail.com" target="_blank">stefandoesinger@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<span><br>
Am 2016-03-27 um 14:17 schrieb Aaryaman Vasishta:<br>
> What should be the max. resolution for the texture? I'm getting<br>
> D3DRMERR_BADALLOC if the resolution is >= 13K x 13K @ 24bpp on my<br>
> win8.1 machine with 16GB RAM. Maybe the max resolution might depend<br>
> on the system? I think setting a max resolution of 4K should be<br>
> fine, I guess.<br>
</span>Probably the max d3d texture size?<br>
<br>
Someone sent tests a long time ago that showed that the max ddraw<br>
surface size is 65535 for sysmem (and presumably HW if the HW limit is<br>
beyond this in d3d8+).<br>
<br>
At some point you'll hit the 2G address space limit. There's also a<br>
chance that even if enough address space is free it is fragmented too<br>
much to support your texture.<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2<br>
<br>
iQIcBAEBCAAGBQJW+AEqAAoJEN0/YqbEcdMwu7EP/3cWlguPiED/CkHNyK2CiWZm<br>
CazSETN6zor6pwRN32yaofQZ1nv3LMt2TlQ4EfYQVvXoZj1kCj9yoxPOwGLN4cgl<br>
/hzMGPXPGc8A65z3gbgZot2D/CcRl4Bmxx54XwZr7ycGHFCMnG+iS0KJdHc1DUMS<br>
HkQ2Nb0CSUwf4ZV4Xxyx0OP3UEE7usqN1J9jxuLmRt1tMyfXfdsXWD+VWBl/A8RF<br>
pRSvXWqWoMmPb5J+0FBbdrwDQdhJT/+NVm8t46C6c+AMt+KTl1SSO41DGix2Loav<br>
NzELZuFGF7pnwhiFvuf04UfvFF8MHWAal9O7c7fXqwD0MXKt9kYokzqL+p8LIiOj<br>
wuRXF/A9atvg9PfPcuFslWctN0hUIc3vIDsvS9a6vBjB9oApavjb9R7y1g5rpLY6<br>
nku+LHLKTbWtt81JzgOCxNB8vTfaEwKjefoy4PRq+YFPsNmtCL11P9dnaUe7LCsl<br>
ZXqDzUVcMRwjfsEg879k67gTdt+fsjdPpJQrm6VnoQTJxQRC6KTySwcNBLHqxWOJ<br>
Ch8oaBzk9ByKtL9AwTrt0/YuSKv5IRVrv+tyb6xmXo5YJHYRl6HQ5hHaUPIBPTeh<br>
E4OYoGSkPtqP4hDtDh4tBucDNwxhd0VkZFgMMAc2DI9izxWmasI5+85HGkHkINlp<br>
aSyJHCbU0fqp9Meg1w8A<br>
=FCyH<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br></div></div></div></div>