Commit Graph

2338 Commits

Author SHA1 Message Date
Jakub Valtar 88be68b17d Remove legacy functions from PGL 2015-08-21 13:16:03 -04:00
Ben Fry facadfc9f5 catch issues with per-vertex coloring/styles (fixes #3677) 2015-08-21 10:57:00 -04:00
Ben Fry 0a62e9fc9c take care of ellipse/rect/image modes in PShape (fixes #3685) 2015-08-21 10:24:45 -04:00
Jakub Valtar 1a82604b4e FX - Fix key typed 2015-08-19 17:31:53 -04:00
Ben Fry 76856d3e8c cleaning 2015-08-19 16:47:10 -04:00
Ben Fry d0f27428b6 remove JDK 1.8 syntax 2015-08-19 16:44:06 -04:00
Jakub Valtar b3902d3fde FX - main drawing loop 2015-08-19 16:00:57 -04:00
Ben Fry 5852ff9c41 Remove 60fps limit on the JavaFX "pulse" timer 2015-08-19 08:43:15 -04:00
Ben Fry ec9f9293b6 avoid NPE in selectFolder() on OS X (fixed #3661) 2015-08-19 06:01:11 -04:00
Ben Fry 98d74ef0cf Merge pull request #3658 from JakubValtar/fx-sketch-size
FX - Proper sketch sizing
2015-08-18 18:56:01 -04:00
Jakub Valtar d7a351ea7b Proper sketch sizing
-exclude decoration from sketch width/height
2015-08-18 18:34:10 -04:00
Jakub Valtar ca0f78de4c FX - fix rect size 2015-08-18 16:47:38 -04:00
Ben Fry 3dd19310bb slight naming changes 2015-08-17 20:02:42 -04:00
Jakub Valtar f127acb966 Fix typo 2015-08-17 19:55:44 -04:00
Jakub Valtar 014da3117f Styling 2015-08-17 19:54:24 -04:00
Jakub Valtar 475e83fbdc Discard auto-repeated keys in P2D/P3D 2015-08-17 19:45:00 -04:00
Jakub Valtar 7137cd9701 Emulate keyTyped for OpenGL sketches 2015-08-17 19:17:03 -04:00
Ben Fry 196a742086 remove unused import, note changes 2015-08-17 08:33:44 -04:00
Jakub Valtar 55d154b136 Improve OpenGL extensions checks 2015-08-16 22:37:09 -04:00
Ben Fry 4e6d601d79 Merge pull request #3628 from JakubValtar/remove-fixed-func
Fix OS X shader issues
2015-08-16 07:51:29 -04:00
Jakub Valtar db6ab44cbe These need preprocessing too 2015-08-15 21:00:20 -04:00
Jakub Valtar 5910f49970 Fix another bunch of vert/frag typos 2015-08-15 20:45:59 -04:00
Jakub Valtar 2a377ae4ce Fix typo: swapped vert and frag shader loading 2015-08-15 20:32:48 -04:00
Jakub Valtar 0d3d54ac08 Remove hardcoded shader versions 2015-08-15 20:17:21 -04:00
Jakub Valtar cb83147d74 Detect GLSL version and preprocess to that 2015-08-15 11:03:12 -04:00
gohai c5667e7f91 Copy Jakub's shader changes to the quirky vc4 version
We want to make it easy to diff between the two. Still works on the Pi's VC IV driver.
2015-08-15 15:59:50 +02:00
Ben Fry f2c699bcac Merge pull request #3606 from JakubValtar/remove-fixed-func
Remove debug code
2015-08-15 08:49:33 -04:00
Jakub Valtar aad177546b Remove debug code 2015-08-14 21:03:42 -04:00
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 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 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
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
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 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