JGears Demo’s gradient paint doesn’t not paint when the display falls back to the Microsoft GL driver. This occurs when resizing to a larger window dimension.
AK77
JGears Demo’s gradient paint doesn’t not paint when the display falls back to the Microsoft GL driver. This occurs when resizing to a larger window dimension.
AK77
Do you get an exception during the resize operation? Could you post it if so? Resizing works fine on all of the machines I’ve tested that demo on.
The Microsoft GDI renderer doesn’t support alpha bits as far as I can tell, which is why the transparency disappears. This demo is intended more as an illustration of what is possible rather than a guarantee of certain behavior.
No, there is no crash. Once the program switches to the MS driver, it doesn’t switches back to the hardware accelerated driver. So, when the size of the canvas gets too big, the renderer falls to the MS version. Is there a way of locking to the hardware accelerated renderer? AK77
Not with the GLJPanel as it’s implemented. However, the hardware-accelerated path is implemented using only public APIs (the GLPbuffer class), so you can implement your own component with the policies you want.