rdb
d53b2ca80e
Backport various bugfixes from master, among which:
...
- Fix Windows pbuffer crash on Intel cards
- Fix crash when using pnmimage.write with unsupported format
- Fix GLSL diagnostics on Mesa GLES2 compiler
- Reduce warning severity when resizing immutable storage texture
- Print more debug info when FrameBufferProperties are insufficient
- Fix "Bam file contains objects of unknown type: MovingPart<LMatrix4f>"
- Fix memory leak in BulletTriangleMesh
- Fix pmerge in Python 3
2016-06-07 14:40:27 +02:00
rdb
82fdb30957
Fix incorrect format selection for renderbuffers (missing alpha channel)
2016-04-12 20:44:07 +02:00
rdb
873fd3294a
Work around bug in certain Intel drivers with #pragma include
2016-04-12 18:20:27 +02:00
rdb
2b034506fa
Backport fixes for Arch compile issues to 1.9
2016-03-25 01:40:00 +01:00
rdb
ce947adf8f
Replace uses of "delete" with "delete[]" where appropriate
2016-03-24 23:56:12 +01:00
rdb
cccd29cc61
Fix use of uninitialized variable pointed out by valgrind
2016-03-17 21:39:42 +01:00
rdb
844a284925
Fix mipmap level count calculation for texture arrays
2016-02-22 19:47:08 +01:00
rdb
ef623aa0e2
pview should use clamp wrap mode when loading image as model
2016-02-03 13:37:23 +01:00
rdb
623d81db6b
Support various kinds of BMP headers (incl reading bmp with alpha)
2016-02-03 13:36:38 +01:00
rdb
c855049f24
Fix glstuff compilation error
2016-01-27 17:14:32 +01:00
rdb
375baaaabd
Fix constant reloading of texture when using gl-ignore-mipmaps
2016-01-26 11:39:50 +01:00
rdb
d574dd4b0b
Fix texture format selection in FrameBufferProperties
2016-01-26 11:39:19 +01:00
rdb
ea368dd559
Bam reader robustness; allow threaded bam reading from Python
2016-01-26 11:35:04 +01:00
rdb
47de3542f6
Apply tobspr's texture memory calculation fixes to 1.9 branch
2016-01-26 11:15:22 +01:00
rdb
8564dbedce
Backport workaround for NVidia 361.43 driver bug to 1.9
2016-01-03 20:09:24 +01:00
rdb
6a2e1a438c
Clamp shininess to 0 to avoid a GL error when negative shininess was entered
2016-01-02 21:48:25 +01:00
rdb
8eab20a6c1
gl-texture-max-lod false should not inhibit the setting of GL_TEXTURE_MAX_LEVEL
2015-12-31 20:43:30 +01:00
rdb
6035a9613d
Fix issues in box-sphere interaction
2015-12-31 20:39:20 +01:00
rdb
86faaae9f8
Add variant of transform_vertices that accepts a SparseArray
2015-12-26 13:54:53 +01:00
tobspr
7d9b5d61f9
Fix crash when unpacking aligned textures
2015-12-25 17:02:34 +01:00
rdb
2f7c8e8e97
Fix typo in error message
2015-12-25 17:00:40 +01:00
rdb
86eef29974
Error instead of crash if no spawn templates are present (with thanks to tobspr)
2015-12-24 16:11:16 +01:00
rdb
5f59f54475
set_render_mode_thickness/perspective no longer overwrites wireframe color
2015-12-19 23:44:23 +01:00
rdb
56194acf87
Fix clock-mode Config.prc setting
2015-12-19 15:34:34 +01:00
rdb
5b1cfd115c
Backport some GL tweaks to 1.9, particularly gl-support-texture-lod
2015-12-16 21:07:07 +01:00
tobspr
81691e3103
Fix crash on invalid tangent in rope node, fix invalid tangents for certain up vectors
2015-12-16 20:52:56 +01:00
rdb
c0f48900e0
More OpenGL compatibility for versions older than 2.0
2015-12-10 13:52:40 +01:00
tobspr
8e772366b1
Fix unitialized memory in nurbsVertex, prevent division by zero in NurbsCurveEvaluator
2015-12-09 22:53:27 +01:00
rdb
c2b44b57c9
Fix crash on very, very, old OpenGL versions
2015-12-09 22:46:25 +01:00
rdb
287c44ce53
Various fixes for Python 3 versions before Python 3.3
2015-12-06 22:05:44 +01:00
rdb
2abe2df1b4
Add dummy return values to keep MSVC happy
2015-11-25 02:53:56 +01:00
rdb
f6b66fc5db
Fix PhysX compile issues on Mac
2015-11-25 02:01:07 +01:00
rdb
a98d50cd61
Fix for older OpenAL versions
2015-11-23 16:33:16 +01:00
rdb
f84b9e1f63
More reliable OpenAL device selection mechanism, add fallbacks, prefer "OpenAL Soft" over "Generic Software"
2015-11-23 16:17:44 +01:00
rdb
31a2d96450
Merge remote-tracking branch 'eswartz/pr_openal_device_selection' into release/1.9.x
...
Closes : #48
2015-11-22 20:11:06 +01:00
rdb
573af61636
Merge remote-tracking branch 'eswartz/support-mouse-confinement-cocoa' into release/1.9.x
...
Closes : #20
2015-11-21 17:43:07 +01:00
rdb
de65c02ef2
Implement improvement upon eswartz' fix to properly handle programmatic window size changes on Mac OS X
...
Closes : #39
2015-11-21 17:34:37 +01:00
rdb
4d2cf29816
Add libRocket to PandaSystem
2015-11-21 16:55:06 +01:00
rdb
428f4ce050
Fix faulty assertion in BulletTranslationalLimitMotor (with thanks to ThomasEgi)
2015-11-21 12:55:49 +01:00
rdb
6fb08f124c
Add (limited) modification timestamp tracking to Ramdisk
2015-11-15 12:45:42 +01:00
rdb
c9921271d6
Fix recursion in inline function in LFrustum
2015-11-12 02:59:15 +01:00
tobspr
027a561843
Fix color write mask in OpenGL
2015-11-08 11:58:06 +01:00
rdb
6a263746cd
Fix Cg crash at shutdown when multithreaded pipeline is active
2015-11-07 21:55:51 +01:00
rdb
47fdb9b748
Correct position of viewing axis for off-axis lens frustum (with thanks to tobspr)
2015-11-07 16:42:06 +01:00
rdb
042dc82416
Handle DPI change on Windows 8.1+, add dpi-window-resize config option
2015-11-05 20:43:33 +01:00
rdb
bd354a9cde
Fix crash on shutdown of buffer in threaded pipeline
2015-11-02 16:41:17 +01:00
rdb
d8fedc1bc0
Call SetProcessDPIAware() to fix issues caused by DPI virtualization in Windows 8.1
2015-11-01 20:01:39 +01:00
rdb
368390536b
Fix bug preventing switching from Z_top to Z_normal on Windows
...
(Reported by Epihaius)
2015-11-01 19:07:33 +01:00
rdb
63a9b5dfec
Re-expose MouseWatcherGroup; clearer error message for make_seq when getter is not exposed
2015-11-01 15:45:52 +01:00
rdb
d3494edf2c
Address some rare crashes at shutdown
2015-10-31 04:11:12 +01:00
rdb
fe633b51a1
Remove unnecessary cg.h include
2015-10-28 15:55:59 +01:00
rdb
da1d5755f9
Add config var to toggle between incorrect/correct normal generation for GeoMipTerrain
2015-10-23 16:18:59 +02:00
rdb
706f6f7de5
Squelch some of the type conversion warnings in MSVC
2015-10-06 17:05:40 +02:00
rdb
9bb968cc8b
Remove unused methods
2015-10-04 12:56:45 +02:00
rdb
e1c0ae7f1b
Add F_hardware_skinning/p3d_TransformTable to GLSL on 1.9 branch, as requested
...
Uses a hack to prevent breaking ABI compat
2015-09-05 15:28:57 +02:00
rdb
d8f655479a
Remove references to SourceForge CVS repository
2015-08-23 14:12:59 +02:00
rdb
902bce01e9
Fix various window sizing issues on X11
2015-08-22 19:16:21 +02:00
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
Ed Swartz
4916aaca54
Add 'openal-device' configuration variable for selecting OpenAL device
2015-08-11 09:29:26 -05: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
Ed Swartz
8746fd2252
Explicitly resizing window does not trigger event on OS X; do it ourselves
2015-06-15 10:03:38 -05: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