Benjamin Maus
ec89911766
Added STENCIL_TEST -> GL.STENCIL_TEST field to PGL/PJOGL
2013-10-06 10:52:00 +02:00
Benjamin Maus
3bf0166518
Not getting gl context on reshape.
2013-10-06 10:51:14 +02:00
Benjamin Maus
eed5103751
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...
2013-10-05 18:38:46 +02:00
Benjamin Maus
047d771fb7
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.
2013-10-05 18:35:55 +02:00
Benjamin Maus
b68a7834e3
Revalidating the PApplet on resize, so child components (like GLCanvas)
...
scale accordingly.
2013-10-05 18:33:18 +02:00
codeanticode
c41c53f931
some debugging
2013-10-04 18:54:31 -04:00
codeanticode
5d8bd9e96e
some shader aliases
2013-10-04 00:43:58 -04:00
codeanticode
8a60de14d3
some simplifications to the shader code
2013-10-04 00:21:01 -04:00
codeanticode
eb72df7340
correctly implements SUBTRACT blend mode
2013-10-03 18:23:04 -04:00
codeanticode
312fb99508
sets the resized native font in PGraphicsOpenGL, fix #2109
2013-10-03 17:03:14 -04:00
codeanticode
994be867e9
get gl objects also in init() and reshape() events
2013-10-03 16:02:36 -04:00
codeanticode
dbc9b78804
slightly different ortho() setup in P2D allows for identity modelview
2013-10-03 15:02:05 -04:00
codeanticode
0388ebbe4a
takes care of #2102 by reverting setAmbient to false if it was false
...
before calling popStyle()
2013-10-03 13:51:56 -04:00
Ben Fry
9b2d4bcb11
workaround for unicode issues with NLF in XML files ( #2100 )
2013-09-28 15:53:46 -04:00
Ben Fry
81f68444b3
adding desktopPath()/desktopFile() methods; against my better judgement
2013-09-23 09:51:41 -04:00
codeanticode
2f8af18ba6
some changes for android compatibility
2013-09-19 11:35:03 -04:00
codeanticode
d6ce4aa7b9
made canDraw() abstract in PGL
2013-09-19 10:05:13 -04:00
codeanticode
fab8555160
check for null canvas
2013-09-13 19:12:39 -04:00
codeanticode
ea82da68de
added registerListeners() method to PGL
2013-09-13 19:04:55 -04:00
codeanticode
51947ae116
done with the PGL refactoring
2013-09-13 15:02:36 -04:00
Ben Fry
da0b526f68
making swap public
2013-09-13 02:19:56 -04:00
codeanticode
d334a8a8f9
continue with the refactoring of PGL
2013-09-12 19:12:53 -04:00
Ben Fry
d21b911a13
fix formatting
2013-09-12 18:03:10 -04:00
Ben Fry
a8baf6bae6
Merge branch 'master' of github.com:processing/processing
2013-09-12 18:01:01 -04:00
Ben Fry
be08ef7c23
misc fixes, todo updates
2013-09-12 18:00:58 -04:00
Laureano López
748d331f85
setBackground for (JFrame)frame
...
frame.setBackground >> ((JFrame)frame).getContentPane().setBackground
2013-09-12 15:12:27 -03:00
codeanticode
b1ebdd6ed6
removed use of switch/case
2013-09-10 18:55:55 -04:00
codeanticode
53a72e4318
Added PJOGL class
2013-09-10 15:05:48 -04:00
codeanticode
764616c9e1
starting the refactoring of PGL
2013-09-08 14:07:47 -04:00
Ben Fry
e640decc81
todo notes and attempting to wrap revisions
2013-09-05 00:02:30 -04:00
Ben Fry
c90d7ce0f3
fix for indices with alternate constructor
2013-09-05 00:02:09 -04:00
codeanticode
cae8269fbd
fixed error in flushPolys()/renderPolys()
2013-09-04 20:13:42 -04:00
codeanticode
6cf649a0ce
cleanup inner shader classes, and minor tweaks
2013-09-04 19:04:43 -04:00
codeanticode
e4afbd7151
added flush() call in copy(PImage, ...)
2013-09-04 07:02:57 -04:00
codeanticode
3441ea7fa4
GL implementations of copy() methods, fix #1924
2013-09-03 19:41:10 -04:00
codeanticode
8888372cbe
some additional logic to keep the use of memory in Texture low
2013-09-03 16:24:00 -04:00
codeanticode
659be8ed8d
Texture releases auxiliary arrays/buffers when the free memory is low,
...
this should help in situations like #1975
2013-09-03 15:57:45 -04:00
codeanticode
c34696353d
fixed handling of rect parametrers in PShape
2013-09-03 15:12:39 -04:00
codeanticode
7fd1455061
fix #1990
2013-09-03 14:40:34 -04:00
codeanticode
8d2b69b0c5
fix #2061
2013-09-03 12:07:54 -04:00
codeanticode
bb518933b0
PShapeOpenGL uses close field from parent PShape, this takes care of
...
#2035
2013-09-03 11:51:04 -04:00
codeanticode
39d2287f12
removed some commented out code
2013-09-03 10:32:18 -04:00
codeanticode
4eb844598e
added missing TEXTURE_WRAP_R constant to PGL
2013-09-02 18:10:59 -04:00
codeanticode
50e3631fa9
made the description of loadTexture() more accurate
2013-09-01 20:01:42 -04:00
boubpopsyteam
f0e67746e7
Update PVector.java
...
See https://github.com/processing/processing/issues/2045
2013-08-27 14:52:24 +02:00
codeanticode
6bd22196b7
save the sphere detail from the renderer when creating a PShape (or pass
...
it as a parameter to createShape)
2013-08-25 13:54:12 -04:00
codeanticode
764be11cc9
Merge branch 'master' of https://github.com/processing/processing.git
2013-08-25 13:02:31 -04:00
codeanticode
8fbd467f5d
reset light count in lights()
2013-08-25 13:02:09 -04:00
Ben Fry
575d7ab313
minor Table bug fixes, add static version of JSON load for File
2013-08-24 12:14:33 -04:00
Ben Fry
424894e9e2
preparing release
2013-08-23 09:43:36 -04:00