codeanticode
|
5a3d15da5d
|
divide width and height by 2f to properly take into account resolutions
that are not divisible by 2
|
2013-08-20 16:44:49 -04:00 |
|
codeanticode
|
d1be1455eb
|
added implementations of textAscent(), textDescent(), and
textWidthImpl() so the text rendering in P2D/P3D matches JAVA2D output
|
2013-08-20 16:11:47 -04:00 |
|
codeanticode
|
b20e667256
|
set viewport in PGL.drawTexture(), fixes #1869
|
2013-08-20 11:42:30 -04:00 |
|
codeanticode
|
02c7beaa5a
|
makes sure that blending is enabled and set to the last mode specified
by the user, should take care of issue #2021
|
2013-08-16 17:36:04 -04:00 |
|
Ben Fry
|
04e7cd6d41
|
add warnings to javadoc about api issues
|
2013-08-14 14:33:03 -04:00 |
|
Ben Fry
|
13be69a8fa
|
retain blendMode() between frames (#1962)
|
2013-08-07 18:58:51 -04:00 |
|
codeanticode
|
48d654153f
|
make the drawTexture() functions in PGL public, remove them from
PGraphicsOpenGL
|
2013-07-13 19:29:56 +00:00 |
|
codeanticode
|
d5d352861b
|
adding back the drawTexture() functions, and making getTexture() public
again so that the syphon library works
|
2013-07-13 18:55:25 +00:00 |
|
Ben Fry
|
1cf486de50
|
attempting other focus solutions
|
2013-06-03 14:44:27 -04:00 |
|
codeanticode
|
0f35afcb27
|
added requestFocus() to PGraphicsOpenGL, PGL
|
2013-06-03 13:44:22 -04:00 |
|
codeanticode
|
fad875b3d1
|
use correct definition of mx1, my1, mx2, my2
|
2013-06-03 11:08:11 -04:00 |
|
codeanticode
|
d089ccbfd7
|
removed debug printlns
|
2013-06-02 15:17:16 -04:00 |
|
andres
|
fefaaf4f62
|
working on a fix for issue #1648
|
2013-06-02 13:55:09 -04:00 |
|
codeanticode
|
1bb36b1db1
|
some code cleanup of the recent changes
|
2013-06-02 11:18:10 -04:00 |
|
codeanticode
|
b4720178aa
|
simplified font/back texture wrap logic
|
2013-06-02 02:59:43 -04:00 |
|
codeanticode
|
53b83da595
|
Renamed bind/unbind BackTexture to FrontTexture
|
2013-06-02 02:38:40 -04:00 |
|
codeanticode
|
f18cffa09c
|
Added version of PGL.initSurface() that allows to set requested caps and
shared context
|
2013-06-02 01:37:42 -04:00 |
|
codeanticode
|
91d817e3ba
|
make some utility functions protected, removed a few others that are not
used.
|
2013-05-30 18:48:39 -04:00 |
|
codeanticode
|
a3fabaf246
|
Use loaded flag to upate texture object, and image format when setting
pixels. Fixes #1830
|
2013-05-30 10:57:58 -04:00 |
|
codeanticode
|
d51819d5ef
|
Finished implementing shape mode text.
|
2013-05-28 22:58:47 -04:00 |
|
codeanticode
|
7376912a74
|
Implementing SHAPE text mode in the OpenGL renderer (#777)
|
2013-05-28 21:53:51 -04:00 |
|
codeanticode
|
be83796795
|
removed PGL.update(), and updatePrimary, updateOffscreen() in
PGraphicsOpenGL.
|
2013-05-28 14:44:22 -04:00 |
|
codeanticode
|
c589c2d459
|
PGL.readPixels() calls beginPixelsOp/endPixelsOp to properly set the
framebuffers for reading.
|
2013-05-27 23:31:42 -04:00 |
|
codeanticode
|
52dc0874af
|
Some reworking of the offscreen logic, in order to reduce resource
utilization.
|
2013-05-27 18:08:02 -04:00 |
|
codeanticode
|
1aea167374
|
Don't create ptexture unless is needed by a shader to read the previous
frame.
|
2013-05-27 15:22:08 -04:00 |
|
codeanticode
|
6c4218a9bf
|
setting viewport before anything else in beginDraw()
|
2013-05-27 14:57:59 -04:00 |
|
codeanticode
|
62d7076a59
|
Fixing several problems with the handling of offsecreen surfaces
|
2013-05-27 13:01:29 -04:00 |
|
codeanticode
|
482c8ea2e9
|
Improved the logic that sets the size of the font textures
|
2013-05-23 19:10:23 -04:00 |
|
codeanticode
|
a2ac452e98
|
Merge pull request #1775 from OffenesFELD/master
Fixed: PGraphicsOpenGL would allocate humongous textures for each font instance
|
2013-05-23 15:31:15 -07:00 |
|
codeanticode
|
8ed4286657
|
Remove uv clamping
|
2013-05-23 17:37:29 -04:00 |
|
codeanticode
|
dea8e9dd16
|
Smaller displacement for lines (issue #1790)
|
2013-05-22 11:04:30 -04:00 |
|
codeanticode
|
7c82286fe8
|
Fixes issue #1771
|
2013-05-18 19:45:34 -04:00 |
|
codeanticode
|
8394c632fc
|
more clear messages for incorrect shader type
|
2013-05-18 08:54:47 -04:00 |
|
codeanticode
|
2d3db38cb8
|
Address issue #1758
|
2013-05-18 06:49:54 -04:00 |
|
codeanticode
|
7a7b49af6b
|
Fix issue #1760
|
2013-05-17 23:21:31 -04:00 |
|
Benjamin Maus
|
bdbc77a6cb
|
Fixed: When using the PGraphicsOpenGL renderer Processing would allocate a texture with the maximum allowed width (e.g. 8192x512 pixels for a 10px font) for each font. This lead to severe GPU memory problems, especially when using multiple fonts. Merge doubled code.
|
2013-05-17 23:38:25 +02:00 |
|
codeanticode
|
ce7e4a36d0
|
Fixes fps cap (issue #1742)
|
2013-05-07 12:07:12 -04:00 |
|
codeanticode
|
1af0cc5c31
|
Fix issue #1737
|
2013-05-04 19:57:05 -04:00 |
|
andres
|
4700330a1f
|
tweaking GLSL and FBO checks
|
2013-05-04 19:00:38 -04:00 |
|
codeanticode
|
8a514e355d
|
Commented out GL debugging messages
|
2013-05-04 12:24:41 -04:00 |
|
codeanticode
|
2f2f2454e6
|
renamed release() as dispose() in all GL classes for consistency with
PGraphics.dispose()
|
2013-04-24 16:02:04 -04:00 |
|
codeanticode
|
80e74e0895
|
renamed some functions
|
2013-04-24 15:36:50 -04:00 |
|
codeanticode
|
f90bdf1417
|
Fix issue #1740
|
2013-04-23 19:14:28 -04:00 |
|
codeanticode
|
1831d33183
|
Made PGL object static, removed references to parent and renderer in
Texture and FrameBuffer object, fixed PGraphicsOpenGL.dispose()
|
2013-04-21 09:33:17 -04:00 |
|
codeanticode
|
fd20e6da02
|
caps/joins always added in retained mode
|
2013-04-18 18:13:33 -04:00 |
|
codeanticode
|
72e3b8aaf3
|
Check for closing edges in tesselateEdges3D()
|
2013-04-18 16:01:06 -04:00 |
|
codeanticode
|
93876fb593
|
finished implementing the clamping checks
|
2013-04-17 18:22:01 -04:00 |
|
codeanticode
|
25de76426e
|
clamp test for triangle fans
|
2013-04-17 17:49:58 -04:00 |
|
codeanticode
|
18ebfeff49
|
reworking logic for 2D clamping
|
2013-04-17 17:35:57 -04:00 |
|
codeanticode
|
7f9b71ddd0
|
Fixes issue #1732
|
2013-04-17 12:29:54 -04:00 |
|