Commit Graph

9277 Commits

Author SHA1 Message Date
rdb 82f7813927 Fix assertion when resizing tinydisplay window to fullscreen on X11 2015-08-20 21:12:28 +02:00
rdb a359ef8a0b Clamp colors to 0-1 range in tinydisplay 2015-08-20 21:04:32 +02:00
rdb 7fa0d3c60a Fix bug #1457688: libRocket elements show solid white in tinydisplay 2015-08-20 18:58:13 +02:00
tobspr 2ea3e3f65a Fix occasional crash when connecting to pstats 2015-08-16 13:54:54 +02:00
tobspr 1c1efa7f17 Fix Texture:estimate_texture_memory() 2015-08-16 13:54:09 +02:00
Ed Swartz 9fdc2d82d1 Send libRocket key events before mouse events
On Linux (at least), a key event is accompanied with a mouse position
event.  If a libRocket UI is listening to e.g. "mouseover" events,
then any keypress will first appear to be a mouse movement, tripping
up code that tries to handle focus with both keyboard and mouse
support.

This change merely dispatches key events before any mouse events to
avoid this problem.
2015-08-13 11:02:51 -05:00
rdb f161ce82cc Add argument names to quaternion classes so they show up in the API ref 2015-08-12 18:29:54 +02:00
rdb 888efc18af Avoid unnecessary glVertexAttribDivisor calls 2015-08-11 13:56:47 +02:00
rdb caf986fa2a Fix uninitialized variable that would sometimes prevent mouse movement from being registered by libRocket 2015-08-10 02:48:53 +02:00
rdb 14bd992e77 Remove use of deprecated "register" keyword 2015-08-07 18:56:58 +02:00
rdb f1df65034d Fix Mac 10.11 compile error 2015-08-07 17:29:03 +02:00
Ed Swartz b06ff60c10 Fix DynamicTextFont.makeCopy() implementation 2015-08-06 17:21:42 +02:00
rdb d66135f4b8 Add ability to change window icon after window has already opened on Windows 2015-08-06 14:36:51 +02:00
Ed Swartz 22d5c2f8dd For tinydisplay, don't lose color/alpha scale when lighting 2015-08-04 17:59:53 +02:00
Ed Swartz 9396f998fb Avoid crash in p3tinydisplay when there is no initial window 2015-08-04 17:56:36 +02:00
rdb 51e243deb5 Fix point size/line width setting regression in OpenGL 2015-07-31 13:28:16 +02:00
rdb 265bf42f81 Fix crash when copying a WeakPointerTo that was already deleted 2015-07-28 13:41:26 +02:00
rdb e6d29d6f51 Document bug in enable_angular_motor 2015-07-27 20:01:37 +02:00
rdb c0e1a3cdb4 Keysyms for dead acute and dead grave keys to better support int'l keyboards 2015-07-27 14:23:17 +02:00
rdb 672a191d2a Improve error message when Cg support is not enabled 2015-07-19 21:23:46 +02:00
rdb e515cbdbd1 Reintroduce display mode information in Windows via Win32 API
Also clean up the CPUID code in winGraphicsPipe a bit
2015-07-19 21:13:01 +02:00
rdb 23441aa5bb Fix intel driver issues, particularly with geometry shaders 2015-07-19 09:22:57 +02:00
rdb c224f351ec Fix gcc/clang compile error 2015-07-17 21:50:06 +02:00
rdb 221507437a Fix crash when passing an undersized array to a GLSL array input 2015-07-17 21:28:51 +02:00
rdb dafae50ce2 Protect against self-move-assignment to fix stable_sort in MSVC 2015-07-17 15:55:24 +02:00
rdb 7c2822515b Remove dependency on X11/Intrinsic.h 2015-07-06 14:19:46 +02:00
rdb fe058dfb32 Don't store two references to X11 Cursor, or we double free at shutdown 2015-07-06 10:29:44 +02:00
rdb 8ecf6a7b9f Fix getattr() and hasattr() of vector classes when invalid attribute name is used 2015-06-21 15:33:42 +02:00
rdb 458ca5ea41 Fix error when aligning C_normal column for vertex animation 2015-06-18 21:21:00 +02:00
rdb 6d0e4c2662 Correct scaling and normalizations of binormals and tangents in generated shaders 2015-06-15 00:19:52 +02:00
rdb bac400543a Correct scaling of normals during flatten operations 2015-06-14 23:14:56 +02:00
rdb c85a92d378 Add assertion to GeoMipTerrain::get_block_node_path 2015-06-13 13:34:19 +02:00
rdb 4d46172fba Revert non-Windows template export changes from 1.9.x, they're less stable than I thought 2015-06-06 16:55:33 +02:00
rdb 3c380d9006 Support collision sphere and plane solids in bam2egg 2015-06-06 16:46:43 +02:00
rdb cfcf91c1c1 Support far clip distance of infinity 2015-06-06 16:25:08 +02:00
Ed Swartz 41498e3895 Fix a libRocket texture issue 2015-06-03 22:30:22 +02:00
rdb f8ec2c10d5 libRocket now responds consistently to auto-texture-scaling, and supports (and prefers) padding over scaling
Thanks to Ed Swartz for helping to track down these issues!
2015-06-03 19:58:50 +02:00
rdb ecaffd5eaa Fix regression in 1.9.0: loaded textures not always rescaled to POT 2015-06-03 19:55:28 +02:00
rdb eeddc9c07d Merge commit 'd1106953b219dbd786c789e92849063dd394bb38' into release/1.9.x 2015-06-03 19:51:39 +02:00
rdb 24b3b85e98 Try and work around weird GCC 4.6 bug with instantiating PTA_uchar 2015-06-03 19:50:52 +02:00
rdb f69354d9fa Explicit template instantiation on gcc/clang, implement cfsworks' suggestion of moving compiler-specific stuff out of pandasymbols.h et al 2015-06-03 13:36:04 +02:00
rdb 141c7a9c35 Improve build performance on Windows slightly 2015-06-02 21:02:35 +02:00
Ed Swartz d1106953b2 Let user know why p3tinydisplay doesn't load texture 2015-06-02 13:20:01 -05:00
rdb a73b5b3fd1 Merge pull request #33 from eswartz/pr-pnmimage-premultiply
Add PNMImage premultiply/unpremultiply methods.
2015-06-01 15:25:55 +01:00
Ed Swartz dbcb389d73 Add PNMImage premultiply/unpremultiply methods. 2015-06-01 08:42:15 -05:00
rdb 868b78f854 Work around interrogate issue 2015-06-01 00:32:51 +02:00
rdb cc62e731b7 Fix compilation with ppremake 2015-06-01 00:21:32 +02:00
Ed Swartz 4c5a540dc9 Add a color and config variable for the pstats "*" category 2015-05-31 10:27:52 -05:00
rdb c59845a63b Merge pull request #31 from eswartz/pr-rocket-more-keys
Make more keys available to libRocket event handlers
2015-05-31 09:11:26 +01:00
Ed Swartz 32bfe0bafc Add a few missing keys to libRocket keymap
libRocket calls some keys "OEM" which map to ASCII characters in
non-predictable places.  Since Panda3D is providing these values
to libRocket from well-known sources, it seems a lesser evil to
use the default US English mappings rather than losing the events
entirely.
2015-05-30 22:16:15 -05:00