Commit Graph

247 Commits

Author SHA1 Message Date
codeanticode
5f627f54fa move framebuffer blitting after restoring screen fb 2015-09-07 11:14:47 -04:00
codeanticode
fb8c3af91e initialize screen FBO 2015-09-03 22:44:17 -04:00
codeanticode
92cef27481 cleaning up surface code 2015-09-01 15:38:29 -04:00
codeanticode
4f29d86a1b made smoothToSamples public as well 2015-08-29 18:05:06 -04:00
codeanticode
1a671877e7 fixed preprocessing of texture2DRect 2015-08-24 16:55:41 -04:00
codeanticode
ffc8adb62b skip shader preprocessing if #version is found 2015-08-24 16:31:17 -04:00
Jakub Valtar
088cb9c395 Fix typo in PGL 2015-08-21 13:17:09 -04:00
Jakub Valtar
88be68b17d Remove legacy functions from PGL 2015-08-21 13:16:03 -04:00
Jakub Valtar
55d154b136 Improve OpenGL extensions checks 2015-08-16 22:37:09 -04:00
Jakub Valtar
db6ab44cbe These need preprocessing too 2015-08-15 21:00:20 -04:00
Jakub Valtar
cb83147d74 Detect GLSL version and preprocess to that 2015-08-15 11:03:12 -04: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
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
codeanticode
d286b0918d removed debug message 2015-08-13 16:01:39 -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
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
3121424be5 writing release notes, switch to BUFFER_READING instead of DEPTH_READING 2015-08-06 17:18:18 -04:00
codeanticode
4e07422358 Merge pull request #3527 from JakubValtar/feature-depth-read
Feature: depth reading
2015-08-04 10:29:26 -04:00
Jakub Valtar
0975b3c753 PGL: fix depth reading for off-screen buffers 2015-08-03 19:17:13 -04:00
Jakub Valtar
c9418545e9 PGL: enable depth reading from multisampled buffers 2015-08-03 11:57:13 -04:00
Jakub Valtar
765e377511 PGL: rename multi color buffer 2015-08-03 11:47:26 -04:00
Jakub Valtar
ef060165a9 PGL: Separate multisampled buffers 2015-08-03 11:46:35 -04:00
Jakub Valtar
0e2eda5512 PGL: Move depth buffer creation to a function 2015-08-03 11:36:38 -04:00
Jakub Valtar
1012b359d6 PGL: add missing stencil buffer rewind 2015-08-03 11:32:40 -04:00
codeanticode
cb9e591703 re-enabled save-surface-to-pixels hack 2015-07-31 14:55:58 -04:00
Ben Fry
cc10ea3256 add notes to smoothing numbers 2015-06-09 12:06:16 -04:00
codeanticode
dee0e73d12 don't disable multisampling if smooth is 1 2015-06-09 11:39:00 -04:00
Ben Fry
eda15abce9 sorting out multi-display, fullScreen(), param passing with surface... 2015-06-05 21:24:28 -04:00
codeanticode
7cf5d676a2 add isPowerOfTwo check 2015-05-30 17:58:19 -04:00
codeanticode
474dddf704 get current pixel scale from GLWindow 2015-05-17 09:14:22 -04:00
codeanticode
2e8187d9c4 present and retina tweaks 2015-05-16 10:20:45 -04:00
Ben Fry
0cf0cc09fc removing more AWT 2015-04-30 21:40:13 -04:00
codeanticode
06b1cb265a return correct default draw buffer 2015-03-03 17:44:59 -05:00
codeanticode
f4e0f23466 make jogl work as a subclass of PGraphicsOpenGL 2015-02-20 16:43:29 -05:00
codeanticode
0b941e1612 invert Y 2015-01-29 01:30:07 -05:00
codeanticode
90920df882 use allocateIntBuffer method, fixes all allocate buffer methods 2015-01-29 01:26:55 -05:00
codeanticode
f26c5cbb57 store label pixels 2015-01-29 01:22:41 -05:00
codeanticode
d22eee76fd draw label texture 2015-01-29 00:49:06 -05:00
codeanticode
eaac9b14a2 draw exit label in PGL 2015-01-28 18:48:40 -05:00
codeanticode
ca5aa10d71 use WINDOW_BGCOLOR 2015-01-28 18:15:36 -05:00
codeanticode
af746c00d0 another way to implement present mode w/out AWT 2015-01-28 17:57:31 -05:00
codeanticode
4922e90dd0 trying to get smooth change to work 2015-01-23 17:08:00 -05:00
codeanticode
32240d2901 fixes to lwjgl renderer 2015-01-12 14:38:25 -05:00
codeanticode
d26c3f8a03 handle smooth changes in surface 2014-12-16 18:51:43 -05:00
codeanticode
9781a18938 disable SAVE_SURFACE_TO_PIXELS_HACK, and a few other init tweaks 2014-12-15 15:04:45 -05:00