Commit Graph

2776 Commits

Author SHA1 Message Date
codeanticode
fa43a4d8aa break up addPolyVertices() into smaller methods 2015-11-15 17:21:52 -05:00
codeanticode
03953fd26a use glUsage variable 2015-11-15 16:21:30 -05:00
George Bateman
a1d3909fc0 Update PVector.java
Fix typo in docs.
2015-11-13 20:24:19 +00:00
REAS
f2c32f5143 Change to PApplet for the loadTable() reference 2015-11-09 20:15:48 -08:00
REAS
3e985c2b0f Add isNull() to JSONArray and JSONObject reference 2015-11-09 16:50:42 -08:00
REAS
63b8689d42 Correction to IntDict reference for values() method 2015-11-09 15:31:02 -08:00
Jakub Valtar
b27de95a59 Prevent nowebref from coming back
Change in 0295379ffb was getting
overwritten from PGraphics when ant building.
2015-11-08 19:46:35 +01:00
REAS
0295379ffb Remove rotate(angle, x, y, z) from reference 2015-11-06 13:33:04 -08:00
codeanticode
4fcd4ccb0b use glClearDepth instead of glClearDepthf for compatibility with
hardware that does not support OpenGL 4.1
2015-11-05 14:42:38 -05:00
Ben Fry
9756ee1089 avoid another "Zero length string passed to TextLayout constructor" error, other notes 2015-11-05 10:05:51 -05:00
codeanticode
14e050c8d2 working on an implementation of of setIcon() for the OpenGL renderer 2015-10-31 19:39:41 -04:00
codeanticode
e4ed6a0184 use stop button color 2015-10-25 14:16:35 -04:00
codeanticode
8c05b63c20 use smaller close button 2015-10-25 13:39:45 -04:00
codeanticode
62ad09557e hide stop button in present mode according to export options 2015-10-25 12:29:42 -04:00
Ben Fry
4bb85b75b4 deal with NaN in stage.getWidth/Height() during FX2D window placement 2015-10-23 16:41:00 -04:00
Ben Fry
5acbcee17e simplify screen placement when screen is too small (#3913) 2015-10-23 15:27:29 -04:00
Ben Fry
6054adf784 Merge pull request #4052 from JakubValtar/fix-glsl-preproc
Improve shader preprocessor with regex-fu
2015-10-23 15:14:26 -04:00
Jakub Valtar
c56f5736c2 Do not replace texture function 2015-10-23 20:20:10 +02:00
Jakub Valtar
02ceda83de Improve shader preprocessor with regex-fu
Fixes #3961
Fixes #3968
2015-10-23 20:07:37 +02:00
Ben Fry
d66e50da95 avoid NPE, fix sketch path, other notes from Github 2015-10-23 10:47:34 -04:00
codeanticode
475c606485 removed deprecated, commented-out resource finalization code 2015-10-22 21:58:42 -04:00
codeanticode
415e896b08 deleteDefaultShaders() does nothing 2015-10-22 21:43:59 -04:00
codeanticode
129cbac2c2 delete the surfaces only when disposing an offscreen graphics 2015-10-22 21:36:27 -04:00
codeanticode
1138ff5a7b swapBuffers() call in PGraphicsOpenGL.dispose() is not needed. 2015-10-22 20:37:55 -04:00
codeanticode
e644e13851 use pixelWidth/Height to initialize backing texture 2015-10-21 09:10:04 -04:00
codeanticode
12653058c2 adjust line vertex and index counts 2015-10-19 23:13:43 -04:00
codeanticode
b9b2fe5452 properly close line loops 2015-10-19 17:17:53 -04:00
codeanticode
1d546461a2 taking care of stroke glitches in P3D 2015-10-19 16:42:35 -04:00
codeanticode
a2a28e635f Merge pull request #4010 from JakubValtar/depth-sorter-improvement
Depth sorter improvement
2015-10-19 15:19:57 -04:00
Ben Fry
f2a825a43c make loadImage() work inside settings() 2015-10-18 12:38:15 -04:00
Ben Fry
0491b58527 additional notes about quit 2015-10-18 12:20:59 -04:00
Ben Fry
f6b80e0527 add quotes to the necessary parameters in the size() error messages 2015-10-18 11:53:59 -04:00
Ben Fry
59778c9805 hide menu bar on OS X when FX2D is running full screen 2015-10-18 09:06:54 -04:00
Jakub Valtar
4386d6431d Depth sorter improvement
Fix ordering when two triangles in a plane share vertices. Triangle
still has to be tested with other triangles.
2015-10-16 21:45:35 +02:00
Jakub Valtar
829eb8cac4 Turn off fixed rate scheduling in OpenGL
After some testing, it appears that fixed rate scheduling tries to catch
up later when it runs slower than desired, creating weird speedups when
the load decreases. Turning it back off.
2015-10-15 23:29:21 +02:00
codeanticode
eebe7b1ae9 query max number of samples only if multisampling is supported 2015-10-12 18:47:41 +01:00
codeanticode
c2c02a533e implement GLES path for FBO layer init 2015-10-12 18:20:10 +01:00
codeanticode
851aeddf7d draw/readBuffer are available in GL 2.0 and higher on desktop 2015-10-12 16:59:42 +01:00
codeanticode
6444ee35dc add flag to check whether draw/readBuffer() functions are available 2015-10-12 16:58:18 +01:00
codeanticode
f8aba4a359 removed use of deprecated constructor 2015-10-10 12:10:02 +01:00
codeanticode
623aacd54d implement setResizable(), GLWindow is non-resizable by default 2015-10-10 11:48:48 +01:00
codeanticode
f21f12ac62 typo in error message 2015-10-07 10:58:18 -04:00
REAS
6686e89ce1 Correcting error to PApplet, I edited text in the auto-generated area 2015-10-05 11:07:41 -07:00
Ben Fry
c067e60b8a weird spacing issues? 2015-10-05 11:54:01 -04:00
Ben Fry
01c42bddcb repair curveVertex() init logic in FX2D (fixes #3960) 2015-10-05 11:51:31 -04:00
codeanticode
101c3c372f set already loaded cursor, fixes #3955 2015-10-04 01:20:14 -04:00
REAS
e2d27fd6a3 Reference update for clip(), noClip(), and delay() 2015-10-02 22:33:32 -07:00
REAS
a85ee42f69 Mod to PApplet to create hint() reference entry 2015-10-02 21:47:19 -07:00
REAS
c5b84c2aa8 Reference fix for PVector add() and sub() 2015-10-02 20:51:50 -07:00
REAS
142b1a1c8e Update to XML reference for getChild() 2015-10-02 14:38:33 -07:00