-
Bug
-
Resolution: Fixed
-
P3
-
6
Graphicsdevice.getAvailableAcceleratedMemory() is expected to return the no. of bytes available in the accelerated memory or it may choose to return a negative value if that memory is infinite. But when opengl is turned on, this method always returns 0 on WinXP with NVIDIA GEFORCE4 MX440 video card. '0' is not documented as an expected value in the API specification.
This is seen right from Tiger-beta2-b46 where OGL feature was introduced for win32. I tested this with 'sun.java2d.noddraw=true' flag and I am able to reproduce this bug.
I have attached a sample test. Execute it. If you see the available accelerated memory as '0', the bug is reproduced.
This is seen right from Tiger-beta2-b46 where OGL feature was introduced for win32. I tested this with 'sun.java2d.noddraw=true' flag and I am able to reproduce this bug.
I have attached a sample test. Execute it. If you see the available accelerated memory as '0', the bug is reproduced.