Commit Graph

3566 Commits

Author SHA1 Message Date
Ben Fry fd677db030 turn off attempted fixes 2015-08-14 20:42:24 -04:00
Jakub Valtar 56efb3c6e7 Get max core profile on OSX 2015-08-14 19:27:36 -04:00
Jakub Valtar f674a2e2ed Fixed typos in shader preprocessing 2015-08-14 19:13:36 -04:00
Jakub Valtar 91f96a54c5 Enabling textures rubs OpenGL the wrong way
This is was deprecated with fixed-function pipeline
2015-08-14 17:53:03 -04:00
Jakub Valtar 7f5b5cd1df Remove shader compilation warnings on Intel 2015-08-14 17:51:07 -04:00
Jakub Valtar eb7469a1f3 Preprocess shaders on MACOSX
MACOSX OpenGL core profile requires GLSL 1.30, so we have to rename a
few things to make it happy
2015-08-14 17:50:14 -04:00
Jakub Valtar 38930b5f4b Fix depth and stencil bits getters 2015-08-14 16:12:32 -04:00
Jakub Valtar bfe1470614 Request programmable GL profile 2015-08-14 16:09:16 -04:00
Ben Fry c76db01b12 implement passing of command line options (#2552) 2015-08-14 09:19:53 -04:00
Ben Fry ec38923c76 notes about the big blending patch 2015-08-13 22:35:56 -04:00
Ben Fry 2c6d000310 Merge pull request #3592 from JakubValtar/bugfix-pimage-blend
Fix Java2D blending issues
2015-08-13 22:34:09 -04:00
Ben Fry d68f057b99 implement add(x, y) and sub(x, y) in PVector (fixes #3593) 2015-08-13 20:59:03 -04:00
Jakub Valtar 9ade216660 Rename low/high to min/max 2015-08-13 17:07:50 -04:00
Jakub Valtar 99d75aa9b0 Java2D blend mode revision 2015-08-13 17:03:31 -04:00
codeanticode d286b0918d removed debug message 2015-08-13 16:01:39 -04:00
Ben Fry a3a7bfff90 add pref for auto-complete of brackets, etc (#3462) 2015-08-13 14:37:22 -04:00
Ben Fry dbd264205b Merge pull request #3523 from JakubValtar/remove-alpha-filler
Remove alpha filler
2015-08-13 14:18:39 -04:00
Ben Fry 19abc304aa improve string breaking performance with edge case (fixes #211) 2015-08-13 14:14:16 -04:00
codeanticode 70439a6a63 put report() back in its original position, explain why 2015-08-13 14:07:16 -04:00
Ben Fry 6acb09c385 add extra test case for text layout (fixes #3487) 2015-08-13 12:24:26 -04:00
Ben Fry 1052d6643f clean up internal sketch loading, breaks api but fixes #3586 and avoids other complications 2015-08-13 11:54:18 -04:00
codeanticode d9c4962ced enable layer FBO layer when no background is called, so there should be
no need for surface hack.
2015-08-13 11:18:03 -04:00
Ben Fry 332c849a30 change how sketch path is calculated to go relative to the .jar 2015-08-12 19:35:56 -04:00
Ben Fry 097ddfca54 avoid NPE for sketches w/o size() (fixes #3585) 2015-08-12 14:43:43 -04:00
codeanticode d4f6856d85 new arg in drawTexture() allows to set pixel factor, which sometimes
needs to be 1 even in HDPI
2015-08-12 08:47:44 -04:00
Ben Fry 7ae9b1f58d Merge pull request #3583 from gohai/arm-3.0-for-ben7
Second bunch of arm patches (v5)
2015-08-11 19:36:40 -04:00
gohai 25a4f406ff Sketch export for armv6hf (v2)
Includes a lot of improvements suggested by Ben.
2015-08-12 01:09:01 +02:00
gohai bd41cb5f6c Reduce the maximum number of lights to 2 for vc4 (v2)
This is to work around register allocation failures in the new mesa vc4 driver. Eric wants to implement a pre-register-allocation scheduling pass, which might help, but for the time being reduce the maximum number of lights to 2, which is what lights() needs.
2015-08-12 01:09:01 +02:00
Xerxes Rånby 0b099e2de7 Hack around some calls that caused runtime exceptions when using Broadcom's VC IV driver
Note: VC IV is the old, binary driver. Still it'd be interesting to see how well this can be made to work with some recent JOGL work. Initial patch by xranby, conditionals by gohai.
2015-08-12 01:09:00 +02:00
gohai 965e383b5d Request GL2ES2 instead of GL2ES1 on ARM
Based on discussion with xranby & discussed with Andres. Current Processing needs shader support so select GLES2 over GLES1. This shouldn't matter for any desktop GPU since we're using a GL there any anyway.
2015-08-12 01:08:36 +02:00
Ben Fry 9fd6481a45 starting the next release 2015-08-11 16:52:12 -04:00
Ben Fry 51299100ac write release notes 2015-08-11 16:19:13 -04:00
Ben Fry 48bbb3d133 wrapping up the beta 3 release 2015-08-11 16:10:44 -04:00
Ben Fry 926ce0a49a implement focused, focusGained(), focusLost() in OpenGL (fixes #3564) 2015-08-11 14:40:52 -04:00
Ben Fry 0bb26f0e0d break out the infinity and NaN cases to simplify the error message 2015-08-11 12:12:49 -04:00
Ben Fry 9433ba2a7b print warning with bad map(), also add nf(float) (#3314) 2015-08-11 12:06:36 -04:00
Ben Fry 49213ef6c3 include name of sketch in "save changes" dialog (fixes #3418) 2015-08-11 10:55:08 -04:00
Ben Fry ae01eac3b2 show pretty name for libraries (fixes #3574) 2015-08-11 10:20:14 -04:00
codeanticode 98a3da31bc wrong arguments in ortho() call 2015-08-11 08:34:33 -04:00
codeanticode 234f494b03 fixes wrong calculation of pixel buffer 2015-08-11 07:48:59 -04:00
Jakub Valtar 555c6e8ead Make bilinear weights always sum to one 2015-08-10 15:03:33 -04:00
Ben Fry ee58ba38ad starting beta 3 2015-08-09 16:50:40 -04:00
Ben Fry c4f0347a52 more notes about beta 2 2015-08-09 13:06:50 -04:00
Ben Fry c9dc9a72c3 prepare release notes for beta 2 2015-08-09 08:14:08 -04:00
Jakub Valtar 66725a7c9d Fix off-by-one error when blending onto itself 2015-08-08 19:08:47 -04:00
Ben Fry f2e12efa39 write text files with \r\n on Windows (fixes #3455) 2015-08-08 15:12:14 -04:00
Ben Fry 9b217d1f9e Merge pull request #3553 from JakubValtar/bugfix-pshape-setvertex
Fix null pointer exception in setVertex
2015-08-08 15:00:27 -04:00
Ben Fry b7d5f987ad add workaround for setTitle() resetting cursor() (fixes #3472) 2015-08-08 14:54:17 -04:00
Jakub Valtar dea4b450bd Fix null pointer exception in setVertex 2015-08-08 14:49:48 -04:00
Ben Fry e23c23363a throw an error when using methods that require sketchPath outside setup() (#3433) 2015-08-08 14:41:22 -04:00