Adding set(boolean) methods + fix w in set(int) method
Fix for issue processing/processing#1994
Ignored bin in experimental
Revalidating the PApplet on resize, so child components (like GLCanvas)
scale accordingly.
Added reinitSurface() method to PGL/PJOGL backend. Does not destroy the
active canvas and keeps the current capabilities, but triggers a reset of
the allocated FBOs.
Changed setSize logic:
SetSize only sets the sized flag. All the rest is done directly before
draw. Force reallocation of lights and transformation matrices (might
get garbled during resize...). Do not perform a full init of the primary
surface but rather a light version...
Not getting gl context on reshape.
Added STENCIL_TEST -> GL.STENCIL_TEST field to PGL/PJOGL
Reapplying settings when the renderer has been sized, but not outside actual
GLCanvas/NEWTWindow display context.
Calling gl things when not told to by GLCanvas leads to very bad effects,
because GLCanvas might do an internal rebuild on resiszing the component,
leading to all sorts of NullPointer and native issues.
Not reinitializing the backing arrays for matrices and lights.
Not needed and seems to blow up some bound buffers.
Not reapplying settings after sizing, because it calls smooth() without
parameters.
With smooth(4) called in setup, this would lead do a complete
reinitialization of the canvas and thus crashing natively...
added PMatrix.preApply( PMatrix) to resolve Issue #2145
Not degrading quality when calling smooth again.
This is especially crucial when quality is set using sketchQuality.
Merge branch 'pull-resize-fixes' of https://github.com/OffenesFELD/processing
merged pull requests from @allesblinkt (fixes #1880 and #2157)
adding profile setting
removed line width and point size
clean up shader get-type code
Merge branch 'master' of https://github.com/processing/processing.git
added GLSL 150 versions of the texture drawing shaders