Commit Graph

9942 Commits

Author SHA1 Message Date
rdb 6ccd64d99e Fix ordering of methods relative to MAKE_SEQ 2015-11-09 18:13:29 +01:00
rdb ac1c036cac interrogatedb 3.0 to restructure make_seq, improve make_seq handling and performance 2015-11-09 18:03:30 +01:00
rdb 4a5d64909a Merge branch 'release/1.9.x'
Conflicts:
	direct/src/showbase/ShowBase.py
2015-11-09 02:29:41 +01:00
rdb 11437c5afd Fix bug when the same Cg shader is compiled for two different GSGs 2015-11-09 00:54:09 +01:00
rdb 5734f61f7e Fix Eigen compile issue in CMake 2015-11-08 22:50:53 +01:00
tobspr 027a561843 Fix color write mask in OpenGL 2015-11-08 11:58:06 +01:00
Sam Edwards 8427f95c18 cmake: Update for upstream changes. 2015-11-07 20:07:24 -08:00
Sam Edwards c902774cfd Merge branch 'master' into cmake 2015-11-07 20:06:59 -08:00
rdb 0f2f27689a Convert from DOS back to Unix newlines 2015-11-08 02:12:43 +01:00
rdb 68f762aa20 Fix leak of prepared contexts, prevent deleting GL resources in wrong context in multi-GSG applications 2015-11-08 00:01:45 +01:00
rdb 026ec613f5 Merge remote-tracking branch 'origin/release/1.9.x' 2015-11-07 23:57:11 +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 e6391c0b87 Merge branch 'release/1.9.x'
Conflicts:
	makepanda/installpanda.py
	makepanda/makepandacore.py
2015-11-05 20:55:01 +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 1adb0e48f4 Merge branch 'release/1.9.x' 2015-11-03 20:30:33 +01:00
rdb bd354a9cde Fix crash on shutdown of buffer in threaded pipeline 2015-11-02 16:41:17 +01:00
rdb 8c259d4a20 Merge branch 'release/1.9.x' 2015-11-01 20:12:32 +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 da17cce447 Fix error and warnings in 32-bit Windows build 2015-11-01 16:57:52 +01:00
rdb b0d8b9109e Check in change that might help fix a WeakKeyHashMap assert 2015-11-01 15:59:38 +01:00
rdb 0ae2df7e02 Merge branch 'release/1.9.x' 2015-11-01 15:54:58 +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 bfe42fa8e9 Fix updating of light position uniform in GLSL (thanks to deflected for tracking this down) 2015-10-28 20:24:42 +01:00
rdb 06475c70b9 Merge branch 'release/1.9.x' 2015-10-28 16:56:44 +01:00
rdb fe633b51a1 Remove unnecessary cg.h include 2015-10-28 15:55:59 +01:00
rdb bac5401a9d Add GL function pointers for indirect draw 2015-10-28 13:18:12 +01:00
rdb be652bb112 Merge branch 'release/1.9.x', change default value of geomipterrain-incorrect-normals to false 2015-10-23 16:20:17 +02:00
rdb da1d5755f9 Add config var to toggle between incorrect/correct normal generation for GeoMipTerrain 2015-10-23 16:18:59 +02:00
rdb aca077916d Add flag enabling vertex shader control over point size 2015-10-17 12:11:11 +02:00
rdb ebd1fd8462 Fix interrogate warnings on Windows. Show warnings when running makepanda in verbose mode. 2015-10-17 03:27:38 +02:00
rdb ddf8343590 Reorganise explicit template instantiations so that it always happens in the .cxx file, while remaining backward compatible with MSVC's standards-breaking implementation 2015-10-16 15:38:28 +02:00
rdb 920210c999 Fix the vast majority of Interrogate parse issues and warnings, add support for inline namespace and constexpr 2015-10-16 14:57:40 +02:00
David Rose 439ee70845 Merge branch 'master' of https://github.com/panda3d/panda3d 2015-10-07 16:55:06 -07:00
David Rose f1fd64534b egg-precision 2015-10-07 16:54:48 -07:00
David Rose caf3a9f24c PfmFile::apply_1d_lut() 2015-10-07 16:52:11 -07:00
rdb 7f7f85794d Fix various compilation and linker issues across several platforms 2015-10-07 21:09:35 +02:00
rdb a5f340c587 Fix errors in OpenGL renderer due to type size mismatches 2015-10-07 19:29:39 +02:00
rdb 18ad6d1543 Replace many int params with size_t params where appropriate, and work towards fixing type conversion warnings 2015-10-07 18:58:26 +02:00
rdb bae5c195af Merge branch 'release/1.9.x'
Conflicts:
	dtool/src/dtoolbase/dtoolbase.h
2015-10-07 15:54:02 +02:00
rdb 706f6f7de5 Squelch some of the type conversion warnings in MSVC 2015-10-06 17:05:40 +02:00
rdb ca37b6b6c0 Fix VC2015 compile errors, allow selecting any WinSDK/MSVC version. All experimental, still. 2015-10-05 02:12:46 +02:00
rdb aebce2e74c Merge branch 'release/1.9.x' 2015-10-05 01:23:31 +02:00
rdb 9bb968cc8b Remove unused methods 2015-10-04 12:56:45 +02:00
rdb 532bee3b9e More fixes to Python 3 rtdist, frozen p3dpython building, new open 2015-09-23 11:57:55 +02:00
rdb 49088fb7ce Fix some issues with new VFS open() implementation 2015-09-21 17:46:50 +02:00
rdb 62217c652e Fix various link issues on Windows when building rtdist 2015-09-20 01:37:49 +02:00
rdb 445c3461d6 Python 3 support to rtdist, reimplement VFS open() on top of io.IOBase, allow freezing into .c target, make VFSImporter and friends frozen into p3dpython 2015-09-18 21:20:25 +02:00
enn0x b996af18dd Merge branch 'master' of https://github.com/panda3d/panda3d 2015-09-14 00:50:56 +02:00
rdb c9434c5b85 Fix shadowed light copy constructor, fix point light lens orientations 2015-09-10 15:30:24 +02:00
rdb 57e5c8fb25 Wrap TypeHandle and ButtonHandle as ints in C wrappers 2015-09-10 15:29:31 +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 03a1399378 Remove accidentally checked in debug message 2015-09-05 13:12:48 +02:00
enn0x 1a0fb8f012 Panda Nodes returned by raycast or sweep querries are no longer 'const' 2015-09-05 00:54:20 +02:00
rdb 3ece15bba0 Implement texture clears for buffer textures 2015-08-23 17:13:12 +02:00
rdb cbb3969017 Merge remote-tracking branch 'origin/release/1.9.x' 2015-08-23 17:03:55 +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 0c4c8484ba Merge remote-tracking branch 'origin/release/1.9.x' 2015-08-20 21:28:25 +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 9868d87196 Add Texture::F_r11_g11_b10 2015-08-16 14:10:59 +02:00
rdb d569e2ab6f Merge branch 'release/1.9.x' 2015-08-16 13:55:42 +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 782c4db634 Instead of checking every 100 end_frame() calls, check for errors every second. 2015-08-11 19:11:56 +02:00
rdb 283713a382 Fix deprecation warning for default shader in GL3.2+ core context 2015-08-11 18:27:15 +02:00
rdb 9773fd7969 Support cube map arrays 2015-08-11 17:08:31 +02:00
Ed Swartz 4916aaca54 Add 'openal-device' configuration variable for selecting OpenAL device 2015-08-11 09:29:26 -05:00
rdb a24531ff7b Various GL tweaks 2015-08-11 15:45:27 +02:00
rdb 8764cb8222 Merge remote-tracking branch 'origin/release/1.9.x' 2015-08-11 13:57:11 +02:00
rdb 888efc18af Avoid unnecessary glVertexAttribDivisor calls 2015-08-11 13:56:47 +02:00
rdb 63c65b4228 Merge remote-tracking branch 'origin/release/1.9.x'
Conflicts:
	direct/src/showutil/FreezeTool.py
2015-08-10 04:02:53 +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 5bf0d44735 Fix linker issue on Windows 2015-08-09 15:59:00 +02:00
tobspr 8a8cc94cbb Add setters to BoundingBox and BoundingSphere 2015-08-08 20:59:56 +02:00
rdb bff070430e Fix some aliasing warnings 2015-08-08 20:56:09 +02:00
rdb 74190f9e50 Work towards supporting Python 3 in the rtdist 2015-08-08 20:49:51 +02:00
rdb 2f8060bf2b Merge remote-tracking branch 'origin/release/1.9.x' 2015-08-07 21:42:02 +02:00
rdb c41a4120bc Fix OSX compile error due to Apple's broken glext.h 2015-08-07 21:41:15 +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
rdb 1e4a39d68e Merge remote-tracking branch 'origin/release/1.9.x' 2015-08-06 17:23:25 +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
rdb c0ff9d8e5f Merge branch 'release/1.9.x' 2015-08-04 18:00:35 +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 6a782e8c31 Avoid accidentally getting a non-compat context on Windows Catalyst driver 2015-08-01 19:13:45 +02:00
rdb 51e243deb5 Fix point size/line width setting regression in OpenGL 2015-07-31 13:28:16 +02:00
rdb 62cefcab8b Update glext to make more recent GL functionality available 2015-07-31 13:20:38 +02:00
rdb 53696052b9 Fix regression in 1.10 with point/line thickness 2015-07-31 13:18:01 +02:00
rdb 508873a7d3 improve readability of glgsg spam output 2015-07-31 13:17:21 +02:00
rdb 1834d9e879 Fix incorrect assumption that Mesa GL 3.0 driver doesn't implement non-core functionality 2015-07-30 18:50:53 +02:00
rdb f22cc71995 Fix double-precision build blibli 2015-07-29 14:07:06 +02:00
rdb acc2a310d0 Change debug category for shader generator to pgraphnodes 2015-07-28 21:43:19 +02:00
rdb b9d45ccc04 Fixes for the fact that render states were no longer sticking around in the cache between frames 2015-07-28 21:42:45 +02:00
rdb 1ee8c5f6d2 Oops, typo fix 2015-07-28 19:48:24 +02:00
rdb e4c3301bd0 Shader context input state tracking system, for more efficiently updating shader inputs 2015-07-28 16:33:34 +02:00
rdb 0cecab3124 Fix issues with the rtdist build in 1.10 2015-07-28 15:40:04 +02:00
rdb 2db003a1c2 Merge remote-tracking branch 'origin/release/1.9.x' 2015-07-28 15:38:58 +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 f33e450823 A lot of performance changes, particularly wrt dcasts and state management 2015-07-27 16:32:57 +02:00
rdb 75019784f4 Changes to inlining so we can use FORCE_INLINING in gcc as well 2015-07-27 15:39:46 +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 4206e349c9 Fix obscure GL crash 2015-07-27 12:57:14 +02:00
rdb e8e155f218 AnimControlCollection methods should take floating-point frame numbers to match AnimInterface 2015-07-27 12:56:13 +02:00
rdb 3ad274639d Move Cg calls out of GSG reset() function - do profile detection entirely without Cg functions 2015-07-20 20:01:06 +02:00
rdb 87b23dfeb2 Improve shader model detection mechanism 2015-07-19 21:31:24 +02:00
rdb 194a43fa2a Merge branch 'release/1.9.x' 2015-07-19 21:24:19 +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 1bb1cc79f4 Improve reporting of supported extensions and compressed formats 2015-07-19 20:13:55 +02:00
rdb 8fcbfd72a1 Intel driver fixes (merge) 2015-07-19 09:32:09 +02:00
rdb 23441aa5bb Fix intel driver issues, particularly with geometry shaders 2015-07-19 09:22:57 +02:00
rdb e91a9100ed Support specifying custom gl-version or requesting debug context on Windows
Also works around NVIDIA driver bug where GL_VERSION is always reported as 1.2 for pview.exe
2015-07-18 22:41:59 +02:00
rdb 96a9e22395 Add uniform mat4 p3d_TextureMatrix[] input to GLSL 2015-07-18 11:07:18 +02:00
rdb 493b66c97d Merge compiler fix 2015-07-17 22:12:24 +02:00
rdb c224f351ec Fix gcc/clang compile error 2015-07-17 21:50:06 +02:00
rdb 5e219f6438 Add support for uniform int osg_FrameNumber in GLSL 2015-07-17 21:34:29 +02:00
rdb 5d7bc2c05e Merge branch 'release/1.9.x'
Conflicts:
	panda/src/glstuff/glShaderContext_src.cxx
2015-07-17 21:32:24 +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 4df64f7b42 Merge branch 'release/1.9.x' 2015-07-17 15:56:15 +02:00
rdb dafae50ce2 Protect against self-move-assignment to fix stable_sort in MSVC 2015-07-17 15:55:24 +02:00
rdb da6140a8cc Changes to GLSL input handling that further assist in efforts to port from Cg to GLSL 2015-07-14 21:04:50 +01:00
Sam Edwards 5ee04074c2 Merge branch 'master' into cmake
# Conflicts:
#	direct/src/actor/Actor.py
2015-07-12 19:27:56 -07:00
rdb 555844f82a Allow compiling out the fixed-function pipeline and request core context 2015-07-09 16:43:45 +02:00
rdb 220015a234 Drop support for vertex blend/matrix palette in OpenGL, no driver ever supported it (well) 2015-07-09 14:26:24 +02:00
rdb 9b6f4eeaf9 Fix compiler warnings in MSVC 2015-07-07 02:58:57 +01:00
rdb 7ce2a97bef BGRA color order fix for Cg on Windows 2015-07-07 02:37:48 +01:00
rdb ef9908c277 More robust Cg support on non-NVIDIA card + automatically enable hardware skinning in Shader Generator 2015-07-07 02:51:48 +02:00
rdb 214d799d82 Add optional "other" NodePath argument for get_tight_bounds() 2015-07-06 14:52:08 +02:00
rdb d43482ec9b Merge branch 'release/1.9.x' 2015-07-06 14:21:03 +02:00
rdb 7c2822515b Remove dependency on X11/Intrinsic.h 2015-07-06 14:19:46 +02:00
rdb cbcb2416d7 Merge branch 'release/1.9.x' 2015-07-06 10:32:30 +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 f67ee228bf Fix error in cg-glsl-version 2015-07-05 20:39:34 +02:00
rdb 7026854cc2 Fixes to get the C binding generator to work 2015-07-05 16:07:08 +02:00
rdb c0f6588c88 Separate libp3interrogatedb out of libp3dtoolconfig.
This aids further in removing the core lib dependency on Python.
2015-06-30 15:17:15 +02:00
rdb 08fbfb1874 Add missing file, update .gitignores 2015-06-28 14:04:16 +02:00
rdb 419eadb859 Support hardware skinning in GLSL 2015-06-21 20:28:31 +02:00
rdb 7a836cbbd9 Merge branch 'release/1.9.x' 2015-06-21 17:46:34 +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 efa8633cb0 Merge branch 'release/1.9.x' 2015-06-18 21:21:23 +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 5d364d6128 Merge branch 'release/1.9.x' 2015-06-15 00:20:17 +02:00
rdb 6d0e4c2662 Correct scaling and normalizations of binormals and tangents in generated shaders 2015-06-15 00:19:52 +02:00
rdb ac7c8c3756 Merge branch 'release/1.9.x'
Conflicts:
	panda/src/gobj/geomVertexColumn.cxx
2015-06-14 23:16:42 +02:00
rdb bac400543a Correct scaling of normals during flatten operations 2015-06-14 23:14:56 +02:00
rdb 82e098e578 Move auto-rescale-normal handling out of GSG, support normalizing normals in shader generator 2015-06-13 18:20:18 +02:00
rdb 2515ea5dff Merge branch 'release/1.9.x' 2015-06-13 13:37:33 +02:00
rdb c85a92d378 Add assertion to GeoMipTerrain::get_block_node_path 2015-06-13 13:34:19 +02:00
rdb 11ed8a4d8d Use dynamic type lookup for interrogate to eliminate inter-module dependencies
It is now no longer necessary to link to core.pyd
Also includes a slight coercion optimization for trivial types
2015-06-06 19:36:40 +02:00
rdb 8e58e9e11c Merge branch 'release/1.9.x' (though keep template exporting in master) 2015-06-06 17:03:27 +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
rdb 7b9efb32af Merge branch 'release/1.9.x' 2015-06-04 00:35:19 +02:00
Ed Swartz 41498e3895 Fix a libRocket texture issue 2015-06-03 22:30:22 +02:00
rdb a70878c4ef Merge branch 'release/1.9.x' 2015-06-03 20:26: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 75978222a1 Merge branch 'release/1.9.x' 2015-06-02 00:31:24 +02:00
deflected 88e5214af7 glstuff: Fix incorrect handling of Transpose in Shader Inputs
- Added missing recalculation of size when
    input buffer is "resized" (due to removing of
    post/pre-fixes). Now the "Transponse" part is
    correctly handled.

Signed-off-by: deflected <deflected@github>
2015-06-02 00:29:34 +02: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
rdb 5d84cc22a9 Bind textures to image samplers by default with read/write access without warning 2015-05-24 15:03:08 +01:00
rdb e2dfc935a1 Various refactoring, esp. of GLSL input system 2015-05-21 14:16:45 +02:00
rdb b49289a4f6 Allow setting min-lod, max-lod, lod-bias in egg file 2015-05-21 11:16:46 +02:00
rdb 18533a29bf Merge branch 'release/1.9.x' 2015-05-18 02:08:27 +02:00
rdb 49e0ff000c Track residency of graphics buffers (both RTT and renderbuffers) 2015-05-18 02:07:35 +02:00
rdb f152c238d5 Display error message instead of mysterious crash when encountering unknown BamObjectCode 2015-05-18 02:04:22 +02:00
rdb 32fb6814e7 Merge branch 'release/1.9.x' 2015-05-14 17:18:20 +02:00
rdb 586c067d69 Fix shader generator memory leaks 2015-05-14 17:17:38 +02:00
rdb f0df4b3b77 Merge branch 'release/1.9.x' 2015-05-11 21:15:11 +02:00
rdb b9440d634c Fix regression with depth-stencil textures reported as unsupported 2015-05-11 20:33:14 +02:00
rdb 5def6a6261 Fix flickering when using trans_model_to_apiview in Cg 2015-05-11 20:31:37 +02:00
rdb 96de270320 Fall back to depth textures when depth-stencil textures aren't supported 2015-05-11 20:31:10 +02:00
rdb 9ef782cd75 Merge branch 'release/1.9.x' 2015-05-11 18:07:53 +02:00
rdb 07ea84a1a0 Optimize shader matrix generator, allow changing GL internal coord system 2015-05-11 18:07:14 +02:00
rdb e8ce2b7b54 Fix OpenGL ES 1 compile error, it does not have GL_INT 2015-05-11 14:19:06 +02:00
rdb 4486fda042 Merge branch 'release/1.9.x' 2015-05-07 22:39:53 +02:00
rdb dbf82d514e Switch from deprecated xf86dga.h header to Xxf86dga.h 2015-05-07 22:39:12 +02:00
Ed Swartz 1fb49dc3f7 Fix Rocket asset lookup to use VFS correctly for .p3d 2015-05-07 22:37:16 +02:00
Ed Swartz bb98d8a8a0 Use model-path as a fallback for rocket asset lookup 2015-05-07 09:40:12 -05:00
rdb 541c684114 Fix filename substitution in shader error reporting for first included file 2015-05-06 15:46:16 +02:00
Ed Swartz e8fca5668c Fix a rash of asserts from PNMImage::get_alpha_val
-- originally the code had an explicit check for a missing alpha channel, that went away in 22120524a2
2015-05-05 11:31:25 -05:00
rdb f658283911 Merge branch 'release/1.9.x' 2015-05-03 20:48:06 +02:00
rdb c292d3bc65 Allow deactivating GPU timers, disable Draw:Primitive:Draw collectors 2015-05-03 20:47:29 +02:00
rdb 8ef5f05342 Pass correct byte size (instead of pixel size) for texture buffers 2015-05-03 16:30:36 +02:00
rdb cc9abf0bae Merge pull request #21 from eswartz/add-pview-options
Add -L (lighting) and -P <pipe> options to pview
2015-05-02 15:30:20 -05:00
rdb 5f875239f2 Merge branch 'release/1.9.x' 2015-05-02 22:17:29 +02:00
Sam Edwards 184901309e general: Fix missing includes. 2015-05-02 22:14:17 +02:00
rdb 11350334d0 Add assertion to prevent invalid use of FrameRateMeter 2015-05-02 22:07:03 +02:00
Sam Edwards 66e47bea0d CMake: Update for recent upstream changes. 2015-05-02 12:23:22 -07:00
Sam Edwards 98db603b66 general: Fix missing includes. 2015-05-02 12:05:30 -07:00
Sam Edwards 8b876843d4 Merge branch 'master' into cmake 2015-05-02 11:33:52 -07:00
rdb 90ad6f00bf Change p3d_Color behavior to take ColorAttrib into account; assign white if missing 2015-05-02 15:48:21 +02:00
rdb fdc8918946 Add packed unsigned 11/10/10-bit floating point vertex format 2015-05-02 14:20:51 +02:00
Ed Swartz 6ceaf63c7d Add -L (lighting) and -P <pipe> options to pview 2015-05-01 20:34:14 -05:00
rdb aac24a3a13 Merge branch 'release/1.9.x' 2015-05-01 20:15:54 +02:00
rdb 74f936115e Force p3d_Vertex to attribute location 0 to fix disappearing geometry when an attribute is not bound 2015-05-01 20:15:00 +02:00
Ed Swartz fc5a2e5e33 Implement confined mouse mode for OS X.
Note: it seems that using #set_pointer() will result in
a long delay before an absolute mouse position is updated,
even though deltas are reported.

Thus, in CocoaPandaView, the mouse deltas are sent for both
relative and confined modes, so client code (e.g. the "mouse
modes" demo) will be able to recenter the mouse without
choppy movement.
2015-04-30 17:57:00 -05:00
rdb 9303c247b6 Support signed int vertex data, normalize 16-bit uint colors properly, don't normalize int columns passed to shaders 2015-04-30 20:13:36 +02:00
rdb 24ec0d6c46 Merge branch 'release/1.9.x' 2015-04-30 19:57:23 +02:00
rdb a745184f25 Fix X11 compile and interrogate issues 2015-04-26 15:27:39 +02:00
rdb 589a1b52ac Revert unintentional debug message check-in 2015-04-26 15:07:09 +02:00
rdb 92d40c3144 Default vertex column alignment should be 4 2015-04-25 18:48:48 +02:00
rdb 66011a1352 Expose _NET_WM_PID to window managers in X11 2015-04-25 17:17:33 +02:00
rdb f1ea25bfb1 Unexpose BoundingVolume::around, add GraphicsOutput::get_fb_size 2015-04-25 17:13:35 +02:00
David Rose 1d1ee63b8e Merge branch 'master' of https://github.com/panda3d/panda3d 2015-04-25 07:24:10 -07:00
David Rose 8876f0939e add PfmFile::gamma_correct(), PfmFile::apply_mask(), PNMImage::copy_channel_bits() 2015-04-25 07:23:54 -07:00
rdb 5f20afd5ea Merge pull request #18 from eswartz/support-mouse-confinement
Support mouse confinement
2015-04-18 13:03:48 +02:00
Ed Swartz 53171c93c8 Replace some debug() calls with info()/warning() calls. 2015-04-17 15:55:46 -05:00
Ed Swartz 0f5b1a8192 Fix X11 M_relative case when missing XF86DGA 2015-04-17 15:50:11 -05:00
Ed Swartz 48cc1aa496 Implement an M_confined mouse mode to ensure mouse stays in window. 2015-04-17 15:12:29 -05:00
rdb 9c313a172d Make writable: bullet convex hull, triangle mesh, debug node 2015-04-16 20:26:55 +02:00
rdb 4f47b018eb Some .bam cross-compatibility for buffer textures 2015-04-16 17:10:14 +02:00
rdb 2ff9083812 Add support for buffer textures 2015-04-16 16:55:29 +02:00
rdb 38ac0401ce A start to make Bullet objects writable (to .bam files) 2015-04-15 22:00:30 +02:00
rdb 76e135b835 Improve behaviour of get_deactivation_enabled/is_deactivation_enabled 2015-04-15 21:58:54 +02:00
rdb d7552f0d8a Merge in bugfixes from branch 'release/1.9.x' 2015-04-14 15:50:53 +02:00
rdb 0343c4f186 GLSL robustness and issue fixes:
* Int params were not being implicitly converted to float properly
* p3d_TextureN now accepts other sampler types
* More error checking for parameter types
* p3d_ColorScale et al also allows vec3 instead of vec4 now
2015-04-14 15:48:48 +02:00
rdb 8360ad442a Work around gcc compiler shortcoming 2015-04-14 15:46:52 +02:00
rdb 0c3fd953fc oops, revert accidental checkin of debug message 2015-04-06 15:11:55 +02:00
rdb adb02a8f45 Compile out things irrelevant for target build, like ShaderGenerator when !HAVE_CG 2015-04-06 13:24:45 +02:00
rdb 947149c56a Fix reading from URLs mounted to the virtual file system 2015-04-05 22:50:38 +02:00
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
rdb cda7c1f171 OpenGL ES 2 optimizations and better support 2015-04-04 21:58:29 +02:00
rdb 4976345486 Let's use OpenGL-style vertex colors by default on non-Windows platforms 2015-04-04 21:38:54 +02:00
rdb b323d73622 Reduce redundant state changes and error checks 2015-04-04 21:04:27 +02:00
rdb 059f67d1b5 Improve GLSL error reporting, fix GLSL ES shader loading 2015-04-04 20:57:04 +02:00
rdb 41184b1189 Optimizations to improve start-up time (esp. in JavaScript) 2015-04-04 19:05:54 +02:00
rdb 0082b7876f Fix clang 3.5 compile warnings/errors 2015-04-04 16:00:20 +02:00
rdb 87451d8000 Support wireframe and point rendering modes in OpenGL ES 2015-04-04 16:00:19 +02:00
rdb 82b3268786 Prevent crash when OpenAL device creation fails 2015-04-01 02:55:20 +02:00
rdb 3f520cad01 Fix black screen when going to fullscreen on Mac OS X 2015-04-01 02:40:59 +02:00
rdb f8779d7eaf Warn if GeoMipTerrain is passed a height field with sRGB color space 2015-03-31 22:33:11 +02:00
rdb b4bfe7010c A few convenience methods that allow for cleaner code in GSGs 2015-03-31 13:57:02 +02:00
rdb 720fdba470 Re-expose LineStream to Python 2015-03-31 13:07:33 +02:00
rdb 95c403e636 Remove unused lru implementation 2015-03-31 12:51:05 +02:00
rdb 10796fe33e Fix unlockFocus error in release builds 2015-03-30 17:58:35 +02:00
rdb 40fff906d1 Change default window size to 800x600 across the board (incl runtime) 2015-03-30 17:57:37 +02:00
rdb 5827959056 Fixes for 64-bit OS X build on newer OS X versions 2015-03-29 22:06:32 +02:00
rdb 0f8f4d63b0 Only query glVertexAttribIPointer when GL version >= 3.0 2015-03-29 18:11:12 +02:00
Sam Edwards 64120cd7d8 general: Add missing includes and forward-declarations. 2015-03-28 19:27:48 +01:00
Sam Edwards 41d8e26549 general: Add missing includes and forward-declarations. 2015-03-28 11:16:40 -07:00
Sam Edwards a0f704b67a CMake: Update CMakeLists for recent upstream changes. 2015-03-28 11:16:19 -07:00
Sam Edwards 69c22868e1 Merge branch 'master' into cmake 2015-03-28 10:23:28 -07:00
rdb b06100afdd Changes to support building universal Mac rtdist for 1.9 2015-03-28 00:31:10 +01:00
rdb 477aa4bdfe Fix various Windows build issues 2015-03-27 23:17:35 +01:00
rdb f624cdcac0 Fix various Mac OS X bugs and build issues 2015-03-25 19:43:21 +01:00
rdb 3371df8403 Fix tp_compare, better __repr__/__str__ handling 2015-03-25 19:36:35 +01:00
rdb b894954fda Better type matching (and error reporting) for GLSL shader inputs 2015-03-24 22:41:13 +01:00
rdb cf8f4d6fbc Update ca-bundle.crt 2015-03-24 22:31:20 +01:00
Ed Swartz 8344fc6187 PNMImage row interface 2015-03-23 19:28:37 +01:00
rdb 38d02fadf9 Fix various interrogate issues with parsing PhysX headers 2015-03-23 19:27:29 +01:00
rdb 0570d9536e Merge branch 'interrogate-overhaul'
Conflicts:
	panda/src/gobj/texture.h
	panda/src/pnmimage/pnmImage.h
2015-03-22 21:50:08 +01:00
rdb 7edecd7fea Fix compilation issues with the runtime 2015-03-21 21:33:32 +01:00
rdb ba6529811d Fix regression with incorrect scaling of 16-bit PNG files 2015-03-21 21:08:54 +01:00
Nikola Milentijevic e687c76db8 Fix MeshDrawer::stream
Direction vector is computed as stop - start, but the position
in the loop is computed from stop as base, instead of from start;
this is changed to start as the base (and then offset must be added).
Multiplication of non-normalized direction vector with its length
yields square of the expected current step inside the loop;
this is changed to use the normalized direction vector.
2015-03-17 19:40:09 +01:00
rdb 1bd343cd87 Windows compile issues fix 2015-03-15 19:37:14 +01:00
rdb 22120524a2 PNMImage sRGB support, use floats instead of doubles 2015-03-15 17:22:28 +01:00
rdb b63d5fbe8c Support cyclic garbage collection through PythonTask objects 2015-03-15 12:24:06 +01:00
rdb e608fa69c7 Merge branch 'master' into interrogate-overhaul
Conflicts:
	dtool/src/cppparser/cppBison.yxx
	dtool/src/interrogate/interfaceMakerPythonNative.cxx
2015-03-14 16:47:31 +01:00
rdb 68cf8cf44f Fix various issues with API documentation generator 2015-03-13 18:40:26 +01:00
rdb ee024f3dc5 Typo fix 2015-03-09 15:51:22 +01:00
rdb 36525784fd Robustify GL FBO framebuffer properties handling 2015-03-09 15:27:38 +01:00
rdb d345246a93 Fix compilation with STDFLOAT_DOUBLE 2015-03-08 15:55:43 +01:00
Sam Edwards edb51f3e17 CMake: Update for recent upstream changes. 2015-03-06 17:34:05 -08:00
Sam Edwards 25e2e0221d Merge branch 'master' into cmake 2015-03-05 09:46:52 -08:00
rdb d11cafc374 Replace SSE4 instruction with SSE2 instruction 2015-03-02 16:18:55 +01:00
rdb 97c24c9ef0 Fix a Cg crash with GL_BGRA color arrays, on NVIDIA cards this time 2015-03-01 17:32:20 +01:00
rdb 04d4309b14 SSE2-enhanced sRGB encode (with runtime CPU detection) 2015-03-01 11:46:52 +01:00
rdb 223620e27e Fix draw mask propagation for initially hidden nodes when when frustum culling is off 2015-02-28 13:03:45 +01:00
rdb 3d9d9bfc95 Deprecate use of <Collide> without specifying "descend" flag 2015-02-27 19:59:54 +01:00
rdb 238cbad2a1 Merge branch 'master' into interrogate-overhaul 2015-02-27 12:48:33 +01:00
rdb db87bc7914 PointerToArray fixes, Windows build fixes, more move constructors 2015-02-27 12:45:11 +01:00
rdb 0e67fb7cf3 Merge pull request #9 from deflected/master
FreeBSD fixes
2015-02-26 15:39:00 +01:00
rdb 72e1df987f Fix pview issues with 1-frame animations and cycling between animations 2015-02-25 21:45:14 +01:00
rdb 52fec094bc Automatically coerce Python function to CallbackObject 2015-02-25 16:24:56 +01:00
rdb 69dc29d6f0 Merge pull request #7 from kestred/cfs-fixes
Miscellaneous compilation fixes
2015-02-25 02:25:19 +01:00
rdb 7a6aa7bfae Implement ParamNodePath; fix circular include issue in shaderInput.h 2015-02-25 01:25:19 +01:00
Sam Edwards f0b3e08e9c ffmpeg: Use av_frame_* instead of deprecated avcodec_*_frame functions beginning with lavc 55.45.101. 2015-02-24 16:22:37 -08:00
Sam Edwards 903966371c general: Fix missing includes. 2015-02-24 16:06:47 -08:00
Sam Edwards 894423ace4 ffmpeg: Don't use internal SWR_CH_MAX macro. 2015-02-24 16:06:40 -08:00
rdb 8dbe681143 Fix bug with Collide flag "polyset" and nested <Transform> elements 2015-02-24 23:51:00 +01:00
rdb 46ddd46c5c Support materials in bam2egg 2015-02-24 21:40:55 +01:00
09th c0e4de3df7 Fix bam2egg issue with animated models 2015-02-24 19:58:14 +01:00
rdb 6263a591be Fix matrix.almost_equal with custom threshold in Eigen build 2015-02-22 15:04:54 +01:00
rdb 3600abfe6d Fix coercion of non-interned strings in Python 3 2015-02-22 13:51:46 +01:00
deflected d82f2c83cd downloader: Correct lack of timezone
- Use tm_gmtoff for GMT correction under FreeBSD

Signed-off-by: deflected <deflected@github>
2015-02-20 14:10:19 +02:00
enn0x d320aced73 Fixed const-correctness for BulletAllHitRayResult. 2015-02-20 01:29:16 +01:00
enn0x b7ef0d3bc3 Exposed flag to disable collision between linked bodies. 2015-02-20 01:14:12 +01:00
rdb 0fda35d88c Commit patch by nikolm to support AmbientLight shader inputs in GLSL 2015-02-16 21:33:38 +01:00
rdb d447ec3bc6 If GL_RENDERER begins with "Gallium", disable GL_PRIMITIVE_RESTART_FIXED_INDEX 2015-02-15 14:19:47 +01:00
rdb 9513046e59 Various substantial changes to Interrogate:
* Allow arbitrary selection of optional keyword arguments in some cases
* Reduce code bloat of generated bindings
* Work around awkward resolution of set_shader_input overloads
* Document the code a bit better
* Make coercion a bit cleaner for reference counted types
* A few optimization tweaks
* Use generic errors in NDEBUG build to reduce size of string pool
2015-02-15 13:48:13 +01:00
rdb d43068b09a Merge branch 'master' into interrogate-overhaul 2015-02-11 21:59:54 +01:00
rdb 7ed8cc9831 Add p3d_Color uniform in GLSL shaders 2015-02-11 21:54:34 +01:00
rdb 886890b02f Merge /mnt/panda3d 2015-02-11 21:43:21 +01:00
rdb 4d2dcdcef7 Fix OpenGL ES compiler errors 2015-02-11 21:41:48 +01:00
rdb 8d17e86d2e Merge /cygdrive/g/panda3d 2015-02-11 21:13:25 +01:00
rdb b9c1765ab4 Fix eggcacher, dramatically improve Windows installer 2015-02-11 21:12:54 +01:00
Sam Edwards 9b98df1ef5 CMake: Update for recent changes. 2015-02-11 10:55:36 -08:00
Sam Edwards 6ee1170453 Merge branch 'master' into cmake
Conflicts:
	panda/src/display/pythonGraphicsWindowProc.cxx
	panda/src/putil/config_util.cxx
2015-02-11 09:53:13 -08:00
rdb 4dc4c9eb3d Merge branch 'master' into interrogate-overhaul
Conflicts:
	dtool/src/interrogate/functionRemap.cxx
	dtool/src/interrogate/interfaceMakerPythonNative.cxx
	panda/src/event/pythonTask.cxx
	panda/src/express/multifile.h
	panda/src/express/pointerToArray.I
	panda/src/mathutil/config_mathutil.N
	panda/src/putil/config_util.N
	panda/src/putil/doubleBitMask.h
2015-02-11 14:41:58 +01:00
rdb 5a51a7e08d Fix various build issues 2015-02-11 14:16:21 +01:00
rdb a6eb3fa442 Make NodePathCollection and TextureCollection constructors extensions 2015-02-11 14:14:03 +01:00
rdb cbd70ad8af Move all Python bindings out of core DLLs into the .pyd files. 2015-02-10 14:30:51 +01:00
rdb 79d025e9a8 Fix incorrect transformation of CollisionBox loaded from .egg file 2015-02-09 20:43:04 +01:00
rdb 8998fef903 Merge branch 'master' of github.com:panda3d/panda3d 2015-02-09 16:53:45 +01:00
rdb e9a64736a3 Fix 32-bit Windows compilation issues with Eigen 2015-02-09 16:51:59 +01:00
rdb bcf0229978 Expose p3d_ClipPlane array to GLSL 2015-02-09 15:57:47 +01:00
rdb b4a87b58f2 Support halfVector struct parameter for GLSL light source inputs 2015-02-08 23:38:07 +01:00
rdb bd86907181 Fix assortment of compilation issues and annoyances 2015-02-08 23:25:11 +01:00
rdb 91568b02bc Add EggVertex::make_average(v1, v2) 2015-02-08 19:51:18 +01:00
rdb f6453fd83e Fix internal name coercion error with new interrogate system 2015-02-08 13:04:53 +01:00
rdb b2f73d0877 Merge branch 'master' into interrogate-overhaul 2015-02-08 12:11:19 +01:00
rdb dad8f79e96 Support using setShaderInput with a light to bind to GLSL struct 2015-02-08 01:42:11 +01:00
rdb 028c09add5 Implicit cast string to InternalName in c++, also optimize for string literals 2015-02-07 16:43:25 +01:00
rdb 78f8f65ef9 Add M_filled_wireframe render mode 2015-02-06 12:15:25 +01:00
rdb eaabc1bfa5 Add ConfigVariableColor 2015-02-05 13:34:52 +01:00
rdb 3bf2a0f814 Proper unbinding of GLSL matrix attribute arrays 2015-02-05 13:27:35 +01:00
rdb 7c14d1872a Fix race condition when manipulating node transform in thread (LP #1417715) 2015-02-04 00:06:14 +01:00
rdb 6b10409890 Fix add_consecutive_vertices / show_bounds crash 2015-02-03 17:18:58 +01:00
rdb 083e160f89 Partially fix excessive event spam when resizing windows 2015-02-02 19:18:32 +01:00
rdb 987ba2083b Use notify-level-shader instead of gobj for shader logging 2015-02-02 19:03:14 +01:00
rdb 3b1bd9ef39 This fixes most issues with Cg's GLSL profiles on non-NVIDIA cards 2015-02-02 16:31:23 +01:00
rdb 3aefaff8b1 Show source filename in GLSL error logs 2015-02-01 19:25:51 +01:00
rdb 13fb8079ec Better shader caching, GLSL "#pragma include" support, better error reporting 2015-02-01 17:52:52 +01:00
rdb 9b2e322f29 Display better error when encountering invalid prim index 2015-02-01 17:41:55 +01:00
rdb a7d1eb90c5 Expose has_extension to query whether OpenGL extension is supported 2015-01-24 21:56:06 +01:00
rdb 0f1243230d Fix OpenGL error on FBO shutdown
(caused by call to glGetError while context was already shut down)
2015-01-24 19:50:25 +01:00
rdb a6cf0960fa Remove EventStorePandaNode, it is no longer necessary
(since PandaNode now directly inherits from TypedWritableReferenceCount)
2015-01-24 19:50:14 +01:00
rdb 0a64bdb33b Fix MouseRecorder & let PandaNode inherit from TypedWritableReferenceCount 2015-01-24 16:12:04 +01:00
rdb 0dc0bbdf0c Missed this section, no point generating shaders in draw any more 2015-01-23 21:41:43 +01:00
rdb c3ca2f1a65 Fix regression with Actor loading 2015-01-23 21:24:29 +01:00
rdb 7ba0469148 Shader generation should be done in cull, not in draw 2015-01-23 15:03:50 +01:00
rdb a56f722c09 GeomPrimitive optimizations & tweaks 2015-01-23 13:54:29 +01:00
rdb c2aa6991d6 Fix glObjectLabel error, fix crash on shutdown with pstats-gpu-timing 2015-01-23 13:22:31 +01:00
rdb c5dd6c69dd fix Loader error reporting 2015-01-23 13:20:14 +01:00
rdb 7b18e5aa41 Merge ../panda3d-git 2015-01-22 17:10:28 +01:00
rdb eacb420d3f Merge branch 'master' of github.com:panda3d/panda3d 2015-01-22 17:09:54 +01:00
rdb 77c9e6cf6c Add support for instance arrays via vertex attrib divisors 2015-01-22 17:04:25 +01:00
rdb 0ad0d4ec33 Further optimizations to the cull pipeline.
The only transform still stored in CullableObject is internal transform.

NB: I haven't tested my PipeOcclusionCullTraverser changes.  Please contact me if you encounter problems with it.
2015-01-22 16:22:16 +01:00
rdb 536d6e7810 Fix obscure bug with BitMask64::get_next_higher_different_bit() 2015-01-22 14:02:01 +01:00
rdb 142bd6a021 Remove old MLightVector TexGen mode and FFP-based normal mapping 2015-01-22 12:26:22 +01:00
rdb 3423a09f4f Merge branch 'master' of github.com:panda3d/panda3d 2015-01-21 22:12:53 +01:00
rdb 94e5bbf579 Changes to support a custom GraphicsWindow derivation 2015-01-21 20:32:00 +01:00
rdb a7f7d54f10 Support vertex attributes with matrix type 2015-01-19 00:16:59 +01:00
rdb 095a402853 Fix window-resizing regression on Windows 2015-01-14 20:23:16 +01:00
rdb 17aafeba15 Fix stencil clear: reset stencil mask before glClearStencil 2015-01-13 03:18:05 +01:00
rdb 0b2a3f0c95 Fix assertion trigger in PandaNode 2015-01-12 21:52:09 +01:00
rdb 763727fbb1 attempted crash fix 2015-01-12 21:34:47 +01:00
rdb b9899ba747 Cull improvements: tighter sphere generation 2015-01-08 23:17:06 +01:00
rdb c04cd29246 Cull improvements: don't compute bounds when not necessary 2015-01-08 23:16:38 +01:00
rdb 75c1364373 Disable use of GL_NV_primitive_restart due to driver bugs 2015-01-08 11:43:28 +01:00
rdb 65f786c8ff Fix #1186845: get_texture_card() no longer hangs multi-threaded pipeline. 2015-01-08 01:43:14 +01:00
rdb 3c30c8de56 Expose OpenSSLWrapper to Python (as requested) 2015-01-07 23:05:14 +01:00
rdb 6ce891f748 Finally fix the aspect ratio on the blasted FPS meter 2015-01-07 22:34:43 +01:00
rdb b5a49efc2e Merge branch 'master' into interrogate-overhaul 2015-01-07 19:34:15 +01:00
rdb af15797a25 Many, many performance optimizations and enhancements 2015-01-07 19:30:01 +01:00
rdb b19ff5b10e Fix crash that may occur when handle_reshape in called before the window is fully created.
Not sure if this affects any renderer but the tinydisplay renderer.
2015-01-05 22:38:09 +01:00
rdb 8a5f07f9c3 Forgot two HAVE_FMODEX lines 2015-01-05 18:10:45 +01:00
rdb e2cdade9d2 Merge branch 'master' into interrogate-overhaul 2015-01-04 20:39:58 +01:00
rdb 936fa653b0 Remove unneeded HAVE_ flags from dtool_config.h generation 2015-01-04 20:34:59 +01:00
rdb 5e905d4463 Fix various parser bugs, improve error reporting
(to show the included file chain -vv is now needed)
2015-01-04 20:30:24 +01:00
rdb 34761a0b9b Merge branch 'master' into interrogate-overhaul
Conflicts:
	dtool/src/cppparser/cppBison.yxx
2015-01-03 16:52:44 +01:00
rdb 3831d44576 Fix issue with resetting ScissorAttrib state
https://www.panda3d.org/forums/viewtopic.php?f=1&t=17505
2015-01-02 22:38:02 +01:00
rdb 5e5a04031f Remove old decal system to simplify cull/draw process a bit more 2015-01-02 15:26:47 +01:00
rdb e8905b840c Use C++11 move semantics to dramatically improve PointerTo performance 2015-01-02 15:25:58 +01:00
rdb 6db5d0dc11 Huge cppparser and interrogate overhaul, bringing:
* Better support for typedefs
* Same code should compile for both 32-bit and 64-bit
* C++11 typed enum support
* Synthesize __setitem__ when operator [] returns reference
* Rewrite coerce system to have better performance
* Change semantics of __getattr__ and __setattr__ to match
  Python's, add __getattribute__, __delattr__ and __delitem__
* Improve performance of slot functions a bit more
* Reduce memory overhead of type system
* Some support for wrapping arrays of numeric types
* C++11 character type support in cppparser
* Chars are handled as strings of length 1
* Template functions for CreatePyInstance that use runtime type map
* More functions from dtool as extension functions
* Code cleanup
2014-12-30 16:43:52 +01:00
rdb 9c3553b3fc Add r8i, rg8i, rgb8i, rgba8i to switches it's missing from 2014-12-30 11:39:40 +01:00
rdb 624b3dad14 Delete DirectX 8 support 2014-12-30 02:00:43 +01:00
rdb 8c0b0990a8 Dramatically improve performance when sorting vectors of PointerTo objects 2014-12-30 00:06:15 +01:00
tzaeru 9c137426e3 Integer texture formats for 8-bit R, RG, RGB and RGBA channels 2014-12-22 21:18:34 +01:00
rdb cd8c6ee37f fix compile error on gcc/clang 2014-12-21 14:26:06 +01:00
rdb 01b669ccd8 Implement texture clear, fix immutable tex support 2014-12-21 14:13:49 +01:00
rdb cb66a51bbc fmin and fmax should be const methods 2014-12-18 16:58:03 -05:00
rdb 270667ece2 Use sampler states in Direct3D 8 2014-12-12 20:39:24 +01:00
rdb 8a5452b0b6 Support sampler states in tinyGL renderer 2014-12-12 20:32:36 +01:00
rdb 89031b4e48 Fix mipmapping with sampler state 2014-12-12 20:27:08 +01:00
rdb fe3f4a6d2a Fix linear mipmapping crash in tinydisplay 2014-12-12 20:18:34 +01:00