Processing V2.0a5 OpenGL issue
in
Core Library Questions
•
1 year ago
I am currently working on updating the
G4P (GUI for Processing) library to make sure it works well with the new OpenGL renderer and have hit a problem.
If you start Processing V2.0a5 and then run the example G4P_Buttons it works fine with the default renderer (JAVA2D), but if I change it to OPENGL the program crashes. You can see the stack trace here at pastebin.
I have been doing experiments to narrow down the problem area with the following results :-
If you start Processing V2.0a5 and then run the example G4P_Buttons it works fine with the default renderer (JAVA2D), but if I change it to OPENGL the program crashes. You can see the stack trace here at pastebin.
I have been doing experiments to narrow down the problem area with the following results :-
- I have repeated the above experiment on two machines running Windows 7 (64 bit) with Java 1.7.0_3 (32 bit) and Vista (32 bit) with Java 1.6.0_29 (32 bit) with the same results.
- In V1.5.1 the program runs just fine with both renderers.
- My sprite library exhibits the same problem if you try to run the S4P_TankDemo with V2.0a5
- Only those controls that use the image() method with PImage(s) in their rendering cause this problem. So buttons without icons work well but those with icons don't. For instance G4P_Knob_Config works well with OPENGL.
- The stack trace seems to identiy 2 possible areas PTexture (line 20) and possible mistmatch with beginDraw/endDraw (line 49).
If anyone else out there using G4P and V2.0a5 I would be interested to hear if they can reproduce the problem.
If any one has any ideas or possible work arounds I will be even happier to hear from you.
Thanks
If any one has any ideas or possible work arounds I will be even happier to hear from you.
Thanks
1