Commit Graph

9324 Commits

Author SHA1 Message Date
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
rdb 09741ecf33 implement get_next_higher_bit using get_highest_on_bit to benefit from optimisations 2014-12-12 19:16:26 +01:00
rdb a0409c54c1 Direct3D 9 supports LOD bias 2014-12-12 16:21:09 +01:00
rdb 95d85819b0 Separate out sampler state from texture, support sampler objects, support LOD min/max/bias 2014-12-12 15:58:45 +01:00
rdb 7d0c1420c2 Bypass view frustum cull entirely when camera has OmniBV 2014-12-11 16:27:51 +01:00
rdb 5aaaf72851 Fix issue with Eigen when matrix determinant is nearly 0
also fix error message for singular matrix
2014-12-10 16:32:04 +01:00
rdb 40a40b20cf Rename EventStoreValue to ParamValue to make it more generic,
in anticipation of new parameter system
2014-12-10 00:26:26 +01:00
rdb 3fbdc43fbb Fix compile errors with clang 2014-12-06 22:38:40 +01:00
rdb ba25fc540b I shouldn't forget that green is a colour, too 2014-12-06 16:40:50 +01:00
rdb bc24576b02 Split up color-bits into red-bits + green-bits + blue-bits 2014-12-06 16:10:01 +01:00
tobspr 0358abfc0e Added clear_dispatches() to ComputeNode
Signed-off-by: rdb <git@rdb.name>
2014-12-06 14:35:20 +01:00
rdb 9567247c9a Allow using rgb32 and rgb16 for render to texture when alpha-bits is 0 2014-12-06 14:00:17 +01:00
David Rose cabe17abdb Merge branch 'master' of https://github.com/panda3d/panda3d 2014-12-04 17:18:12 -08:00
David Rose 255027b18d add optional undist_lut parameter to PfmVizzer::project() 2014-12-04 17:17:57 -08:00
rdb 0473fa7ead Simplify oddly redundant StencilAttrib implementation.
Also add RenderState::compare_mask().
2014-12-03 22:44:07 +01:00
David Rose ad449848c2 extend .gitignores for more ppremake files 2014-12-02 09:48:04 -08:00
David Rose 06a4daf9f2 add divide_sub_image() 2014-11-27 02:10:53 +00:00
rdb 1082e75d87 Fix more compiler warnings 2014-11-20 00:22:06 +00:00
rdb 963186e1ec Fix compiler warning. "const int" return type makes no sense 2014-11-18 19:50:07 +00:00
rdb 5ee64279a4 Oops, stupid debug message, how embarrassing 2014-11-04 15:07:01 +00:00
rdb ce1282c7e3 Fixes for primitive restart index stuff 2014-11-04 14:14:49 +00:00
rdb 0f35480fcf Allow disabling primitive restart index. Also, better handling of unsupported shader languages. 2014-11-03 02:29:05 +00:00
rdb 2c4fbf08be Also use MSVC intrinsics for bit scanning (up to 2x as fast on 64-bit systems) 2014-10-31 17:05:10 +00:00
rdb 10a72e595b Improve pbitops performance by enabling GCC intrinsics when available 2014-10-29 21:18:28 +00:00
David Rose 747e1fe381 we have to install config_framework.h now 2014-10-29 17:00:24 +00:00
rdb 52a4278b80 Fix cwiseProduct compile error when building with Eigen 2014-10-29 12:20:22 +00:00
David Rose 5d5150c5aa componentwise_mult() 2014-10-28 21:46:15 +00:00
David Rose 5dad10cf78 PfmFile::add_sub_image(), mult_sub_image() 2014-10-28 21:45:41 +00:00
David Rose 7bce2d6124 support GL_RGBA16, GL_LUMINANCE16, GL_LUMINANCE_ALPHA16 etc. 2014-10-28 21:44:45 +00:00
David Rose df33105e30 workaround for some artifacts with missing points in distortion map 2014-10-28 21:43:27 +00:00
rdb d3947d4b01 Fix scissoring crash. Also prevent crash when GLSL is not supported. 2014-10-27 16:09:33 +00:00
rdb d7b21c9aeb Replace assert with more helpful error 2014-10-27 15:18:49 +00:00
rdb 6d6a4398c6 Change max vertices to 65534 to avoid conflict with strip cut index 2014-10-27 13:25:38 +00:00
rdb 241adfe34d Implement comparison and hashing in NetAddress. Clean up Socket_Address code a bit. 2014-10-27 12:09:56 +00:00
rdb 5c681a0346 public -> private 2014-10-21 21:40:53 +00:00
rdb 0181fae076 This should fix LP bug #954257; replace locked BamWriters mechanism with atomic list. 2014-10-21 20:45:30 +00:00
David Rose a9d1d1ad54 fix build issue, should include look_at.h instead of look_at_src.h 2014-10-21 18:07:27 +00:00
rdb 3ce705519d Oops, forgot these two files. Part of cfsworks' patch 2014-10-20 11:02:42 +00:00
rdb a65b477734 Commit patches by cfsworks:
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb 783d8552ef Fix bin2c to generate an include to stddef.h (for size_t definition) 2014-10-19 22:32:30 +00:00
David Rose 9f896821e7 fix scissoring during the DisplayRegion's glClear() operation 2014-10-16 00:57:21 +00:00
rdb 31a71c990d Fix issues with OS X 10.9 compilation, fix issues uncovered by clang 2014-10-12 18:45:37 +00:00
rdb ab8ebe6e30 Fix issues with point rendering, both software and hardware. 2014-10-11 01:28:32 +00:00
rdb 902bedc314 Fix Python 3 crash on Windows, and fix some Python 3-related compile errors 2014-10-10 13:45:05 +00:00
rdb 296476f7dd Fix compile error when compiling with optimize level 4 2014-10-09 14:24:03 +00:00
rdb 7524299de9 Fix regressions with Direct3D support. Add sRGB support to DX9 renderer. 2014-10-08 19:56:28 +00:00
rdb 5f8fffccfe Add GSG::get_supports_texture_srgb() 2014-10-08 15:13:26 +00:00
rdb fbc3564bf9 More work on Android port 2014-10-08 15:09:25 +00:00
rdb 32a9e4d9ed Add support for sRGB framebuffers and blending to tinydisplay renderer. 2014-10-08 11:34:41 +00:00
rdb 4ffb512fae Fix error in get_region_pixels_i that causes crash in tinydisplay 2014-10-08 11:27:40 +00:00
rdb 0a84dd9ca3 Android fixes 2014-10-06 17:44:58 +00:00
rdb e7c08ec2fe Fix some errors with shader object labels 2014-10-03 12:21:59 +00:00
rdb 24386cdc1e Use a table to make InternalName::make more efficient for Python interned strings 2014-10-02 18:28:06 +00:00
rdb bce1f2dd5a Commit patch by Technologicat (closes LP #1214782) 2014-09-26 15:17:14 +00:00
rdb a25a9e655e Support strip cut indices and (using those) support direct rendering of linestrips in OpenGL 2014-09-25 00:16:44 +00:00
rdb db0fd516a0 Add GPU profiling capabilities to PStats using OpenGL timer queries 2014-09-24 23:53:37 +00:00
rdb de95ed855d Support enumeration of different pixel formats in WebcamVideo, support for RGB pixel formats in Video4Linux 2014-09-24 15:33:40 +00:00
rdb 162786ae3b Forgot to change these cases of _x_size and _y_size 2014-09-21 13:27:08 +00:00
rdb 0e785de0ff Fix crash in do_issue_scissor 2014-09-20 20:51:40 +00:00
rdb c178aba639 Add property support to interrogate (using MAKE_PROPERTY or using published members) 2014-09-19 15:23:52 +00:00
rdb 4be5346a1a Creating a TypeHandle from Python should properly initialize it to TypeHandle::none() 2014-09-17 21:01:49 +00:00
rdb 8b7217b4f9 Add an "off" ScissorAttrib, don't apply scissoring to overlay display region so that a full-window clear is truly a full-window clear 2014-09-16 20:44:39 +00:00
rdb 579f4c7f47 fix compile error 2014-09-16 19:40:43 +00:00
rdb b24adbcad1 Fix issues resizing OpenGL FBOs. Use LVecBase2i for storing buffer size. 2014-09-16 14:51:13 +00:00
rdb 89b824597c fix LP bug 1219422: fix ShaderGenerator errors when LightRampAttrib is in use but no diffuse is present 2014-09-16 13:25:18 +00:00
rdb e5ec2eaf50 Fix bug on Windows when resizing windows in any way other than dragging them 2014-09-15 16:46:28 +00:00
rdb 9184fe71a9 vectors and matrices should be passed by reference. Fixes compile error on 32-bit windows 2014-09-15 14:39:11 +00:00
rdb 3200bb4443 fix compilation error on 32-bit Windows with Eigen 2014-09-14 23:41:36 +00:00
rdb 87910799b6 Split off epvector.h into its own file in an attempt to cut down compilation time 2014-09-14 22:04:36 +00:00
rdb 0e16497401 Expose DynamicTextGlyph::get_page 2014-09-14 10:42:06 +00:00
rdb 3b60afb12b Make TextGlyph typed 2014-09-14 10:34:01 +00:00
rdb 1286264952 publish textglyph interfaces to make it easier for people to implement their own font rendering algorithm 2014-09-14 10:17:13 +00:00
rdb 340169c80c Add load_sub_image 2014-09-13 19:49:17 +00:00
rdb 02e95bdba3 PNMTextMaker constructor should take FreetypeFont 2014-09-13 17:21:38 +00:00
rdb 031005d55e Fixes for webcams on Linux with MJPEG streams that omit Huffman tables 2014-09-08 11:14:40 +00:00
rdb bb7a6a3ec4 Fix broken convergence distance calculation, adding a configuration variable to restore the old behavior if needed. 2014-08-20 20:24:13 +00:00
rdb 70f73a5ea1 linmath no longer depends on putil 2014-08-20 19:39:13 +00:00
rdb a7f2f50236 Move string_utils.* to from putil to dtoolutil 2014-08-20 19:33:55 +00:00
rdb cd79de19b2 Add more parameters for binding images to shaders. 2014-08-19 20:22:57 +00:00
rdb 1055c2e0fd Use glClearBufferfv to clear MRTs more efficiently (without having to call glDrawBuffers several times) 2014-08-17 16:41:19 +00:00
enn0x d658ba7254 Bullet: exposing bounds for single shape and all shapes. 2014-08-06 22:35:15 +00:00
enn0x aaca66cdc1 Exposing BulletShape.getBounds 2014-08-04 22:41:31 +00:00
rdb 3d19752dc0 Add proper comparison operators and get_hash to ButtonHandle 2014-07-29 13:25:43 +00:00
rdb 0dc6c663a1 Add get_children et al to PandaNode 2014-07-29 13:22:26 +00:00
rdb 24d705b031 The "null" ButtonHandle and TypeHandle now evaluate to false 2014-07-29 11:15:12 +00:00
rdb 82e4500d2a Add p3d_ModelMatrix, p3d_ViewMatrix, and p3d_ViewProjectionMatrix. Fix osg_ViewMatrix and osg_InverseViewMatrix. 2014-07-27 12:10:52 +00:00
rdb 29cfc2b778 Correct CPU mipmap generation for sRGB textures 2014-07-19 16:47:57 +00:00
rdb 875f4d9ddf Fix GLSL bug on nvidia cards with disabling vertex attribs 2014-07-18 19:24:39 +00:00
rdb b60fce49b5 Support generating mipmaps for 32-bit float textures 2014-07-18 18:23:29 +00:00
rdb 0ef51b8723 Support for integer vertex attributes in GLSL 2014-07-18 15:39:49 +00:00
rdb 67a289fe4a Shader generator should use float3 for normals, not float4 2014-07-18 14:34:24 +00:00
rdb 4856804938 Add shininess shader input 2014-07-18 14:21:45 +00:00
rdb c257ce624e Interrogate overhaul that dramatically increases performance for the simpler methods 2014-07-18 13:54:38 +00:00
rdb a76a011105 Fix bugs with Cg shaders 2014-07-18 11:32:31 +00:00
rdb f805098a03 Let's not name members "_object" since it confuses interrogate when parsing initialiser lists. 2014-07-17 13:12:35 +00:00
rdb cea09d4b9e Turn off gl-immutable-texture-storage by default (it seems to cause trouble on NVIDIA cards, which demand a sized internal format be used) 2014-07-15 12:45:38 +00:00
rdb 3983c0de05 Oops, I checked in too much 2014-07-15 11:16:56 +00:00
rdb efa258ebf3 Memory barriers, immutable texture storage, bindless textures, fixes for multisample FBOs, code cleanup, etc. 2014-07-15 08:46:58 +00:00
rdb de54dda8c1 Add convenience methods to turn geometry into patches 2014-07-13 17:09:14 +00:00
rdb ce88a95ddc dump-generated-shaders should truncate file when writing 2014-07-13 15:00:22 +00:00
rdb 2dd503df00 Improve font crispness dramatically by setting text-minfilter to linear by default 2014-07-08 20:24:00 +00:00
rdb 274659cdc3 Fix compile issue on Mac OS X with GLhandleARB 2014-07-07 23:28:40 +00:00
rdb dda0d9c15f check in 32-bit float texture formats 2014-07-07 19:49:25 +00:00
rdb 40c880a1c0 Viewport array support on DisplayRegion. Not 100% sure if I want to end up sticking to this design, but it works. (I may revert this later.) 2014-07-07 19:10:15 +00:00
rdb e5447a5fcd Use LVecBase4i to store _pixels in DisplayRegion 2014-07-06 10:26:09 +00:00
rdb d5a61d3705 Accept integer samplers 2014-07-06 09:42:19 +00:00
rdb 03eddda4a2 Add more integer versions of set_shader_input 2014-07-04 17:34:49 +00:00
rdb 89c5f6f602 Allow using PTA's for float vectors 2014-07-04 14:47:41 +00:00
rdb 667b3a2729 Allow passing ints to set_shader_input 2014-07-04 12:16:35 +00:00
rdb 0b8d9fd08e Fixes for OpenGL ES 2014-07-03 22:24:34 +00:00
rdb a3d80ae3eb Use explicit cast to try and squelch compile error 2014-07-03 22:06:51 +00:00
rdb 66e98f8c70 Allow passing matrices to GLSL shaders either via NodePath or directly as a Mat4 2014-07-03 21:59:22 +00:00
rdb f8675fcd7b Allow calling dispatch_compute directly to GraphicsEngine 2014-07-03 21:57:33 +00:00
rdb 44aea55a66 Int shader inputs 2014-07-03 21:56:55 +00:00
rdb 6e64ff951c Add support for passing int arrays and vectors to GLSL shaders. 2014-07-03 21:54:45 +00:00
rdb cc35d0dd41 Allow Shader parameter in ShaderAttrib::make 2014-07-03 19:14:36 +00:00
rdb 0e1f261ca5 Add F_r32i texture format (useful for atomic image writes from shaders) 2014-07-03 17:39:53 +00:00
rdb 7a610cc198 Revert accidental checkin of memory barrier 2014-07-03 17:11:17 +00:00
rdb a16b98a468 Disable error checking by default for a substantial performance increase 2014-07-03 17:10:41 +00:00
David Rose e7fd70c2bc fix some build issues on windows/ppremake 2014-07-01 17:42:24 +00:00
David Rose a0fa038ec4 support 32-bit as well as 16-bit AE displacement maps 2014-07-01 17:41:26 +00:00
David Rose 06b2e69a49 support floating-point tiff files 2014-07-01 17:40:37 +00:00
rdb a726ccf303 Fixes for image binding 2014-06-29 10:07:38 +00:00
rdb ce6f243019 Clean up glShaderContext, separate GLSL shader context from Cg shader context 2014-06-29 08:28:16 +00:00
rdb bddb2f6806 Fixes for apiclip_x (also change some invert operations to make use of inversion cache) 2014-06-28 15:45:29 +00:00
rdb 5d1e507aef Implement broken apiclip_of_x 2014-06-28 11:37:15 +00:00
rdb 2142fbb45b frame-rate-meter-milliseconds 2014-06-27 15:49:58 +00:00
rdb de5031afde gl-dump-compiled-shaders, pstats collector for compute-dispatch call, a few minor other things 2014-06-26 19:13:52 +00:00
rdb 0a8b35bcea Add PTA class for integer vectors 2014-06-25 08:37:03 +00:00
rdb 756cc27589 Fix date 2014-06-25 08:36:41 +00:00
rdb 575e3dee85 Remove mesa from pandasymbols 2014-06-25 08:35:52 +00:00
rdb 8beac06328 update_texture should always make sure that there is a texture created, even if there is no image available 2014-06-20 15:04:39 +00:00
rdb 128f82863e Support OpenGL debugging features (see gl-debug).
Also fixed the GLX code not to call reset() on the temp context but on the real context instead.
2014-06-20 13:17:01 +00:00
rdb ef9f985406 Add ComputeNode to Sources.pp 2014-06-19 23:30:58 +00:00
rdb 633bbbafce Fix for MSVC compile issue 2014-06-19 21:56:59 +00:00
rdb c9e00acd4b Check in cg-glsl-version variable. 2014-06-19 21:39:08 +00:00
rdb 39a321d0ba Compute shader support under OpenGL :-) 2014-06-19 21:29:35 +00:00
rdb e8612f6ced Provide up-to-date wglext.h 2014-06-19 20:37:28 +00:00
rdb 1d5a95fb22 Fix broken include 2014-06-19 19:49:39 +00:00
rdb 1dc15d821f WGL srgb framebuffer support 2014-06-19 19:37:05 +00:00
rdb 601922e49e sRGB texture support, add floating-point flags to FrameBufferProperties 2014-06-19 19:32:03 +00:00
rdb df30721f79 Seamless cube map sampling in OpenGL 2014-06-18 22:29:50 +00:00
rdb 8d3f7d62f4 Remove use of CLP() macro for config variables 2014-06-18 21:45:20 +00:00
rdb 6454ddddc5 Eliminate GLP() macro (so we can write glEnable instead of GLP(Enable) again). 2014-06-18 21:06:05 +00:00
rdb 5a88e20894 Allow creating a buffer under a callback GSG 2014-06-18 21:02:28 +00:00
rdb c33ef307d6 Delete MesaGL renderer, it seems not to be used any more 2014-06-18 14:59:11 +00:00
rdb e4747ebf50 Extremely experimental support for GL_ARB_shader_image_load_store 2014-06-15 12:57:58 +00:00
rdb 37f9858e1b Add p3d_Material in GLSL 2014-06-11 21:54:15 +00:00
rdb 0090ebc465 more backward compatibility for GeomVertexWriter 2014-06-11 18:44:43 +00:00
rdb 5dae464394 Add integer vectors. Also add __pow__ operator to vectors. 2014-06-11 18:01:50 +00:00
rdb 29385dca31 Allow GLSL matrix arrays 2014-06-10 13:35:33 +00:00
rdb 816bedc8ae Support p3d_ColorScale (thanks wezu) and support 2d texture arrays in GLSL shader inputs (thanks tobspr) 2014-06-10 09:53:54 +00:00
rdb 3753dc5790 Add Carbon to required frameworks (for keyboard mapping detection) 2014-05-29 22:26:55 +00:00
rdb 0f34d7be2c Fix for depth_component16, 24, 32 in get_external_image_format 2014-05-29 14:11:26 +00:00
rdb 73b72386a0 Remove 'temp hack' preventing the use of multiple GraphicsEngines 2014-05-24 05:14:20 +00:00
rdb 1d43bd0f39 Reset the state and transform before the end_frame callback (needed for Blender integration) 2014-05-22 13:44:36 +00:00
Chris Brunner 3813ff7dde Allow for mpeg2 files with the m2v extension 2014-04-30 19:49:57 +00:00
enn0x de4cfbb28b Fixed bug in BulletManifoldPoint copy assignment operator. 2014-04-27 17:06:00 +00:00
rdb 99a2b963d2 Commit patch by cfsworks to properly copy Lens::CData::_min_fov in copy constructor 2014-04-24 13:01:59 +00:00
rdb 28ba81f82d Commit patch by cfsworks to properly mark OpenAL sounds as inactive when they are created while the manager is inactive 2014-04-24 13:01:01 +00:00
rdb e665c2a908 Try using our own version of glext and gl2ext for OpenGL ES 2014-04-22 09:17:23 +00:00
rdb 78ed00ef2b fix uninitialised _frame pointer (thanks cfsworks for pointing it out) 2014-04-18 15:22:56 +00:00
rdb caad44773b Commit patch by cfsworks to fix double-free issue with ffmpeg 2014-04-16 13:49:53 +00:00
rdb 5abc6aa2fc Oops, fix compile error 2014-04-05 21:47:54 +00:00
rdb 6ddab65511 Fix SubprocessWindow compile error 2014-04-04 23:24:46 +00:00
rdb 566feda34d Commit patch by cfsworks to move pgraph stuff to extensions 2014-04-04 09:23:58 +00:00
rdb d792c93026 Overhaul stereo FBOs in Panda making it more reliable, fix MRT bugs, disable auto-GLSL profile choosing on AMD, add max_color_targets (not yet implemented) 2014-04-04 08:45:49 +00:00
rdb 95edd07b25 Fix use of chdir 2014-03-29 13:50:55 +00:00
rdb fd76cff5f0 Patch by phx to support -C in all cases 2014-03-29 09:32:52 +00:00
rdb 528a607f4a Add FrameBufferProperties argument to WindowFramework 2014-03-20 22:56:53 +00:00
rdb 32ad6785f2 Missing HAVE_PYTHON 2014-03-18 08:24:52 +00:00
rdb e02d8706f3 Fix EggGroupNode compilation. _ext.cxx sources should not be added to the standard composite files. 2014-03-17 10:12:26 +00:00
rdb fd09dc0ab2 Add output() and write() to ButtonMap 2014-03-17 09:58:15 +00:00
rdb e9ec2cbf78 Implement get_keyboard_map on Mac OS X 2014-03-17 09:41:04 +00:00
David Rose dbc6091cf0 add PfmVizzer::set_aux_pfm() and PfmFile::set_no_data_threshold() 2014-03-13 23:16:21 +00:00
David Rose 25ee1ce285 fix compilation issue with ppremake 2014-03-13 23:15:19 +00:00
rdb 356012246e Implement win.get_keyboard_map() on Windows 2014-03-10 12:24:03 +00:00
rdb d6be70b339 s/text/label/ 2014-03-09 18:54:30 +00:00
rdb 88f1cc5347 oops, fix typo 2014-03-09 17:49:03 +00:00
rdb b1e95feb3b Add ButtonMap class / window.get_button_map() for querying keyboard layout + X11 implementation thereof 2014-03-09 17:35:31 +00:00
rdb 98ffa974ac Make string coercible into ButtonHandle 2014-03-09 17:32:59 +00:00
rdb a0f8208dc3 Add missing PY_VERSION_HEX guard 2014-03-09 11:21:54 +00:00
rdb 1b93b8fbb3 Add methods to efficiently access PfmFile data from Python 2014-03-09 01:05:34 +00:00
rdb 0b99086e8c Improve key events on Cocoa: add support for the brand new raw key event system, distinguish between left/right modifier keys, fix the lack of down event on help/insert key, fix the lack of up-event while command is pressed 2014-03-08 20:58:03 +00:00
rdb 9367ad586a Distinguish between lmeta and rmeta key, add menu key 2014-03-08 15:07:42 +00:00
rdb 738b2936e4 safety asserts 2014-03-08 14:30:34 +00:00
rdb d8201030d4 Try cast to keep paranoid compiler happy 2014-03-08 12:17:57 +00:00
rdb 8c12dd1f84 Compile fixes for GLES 2 2014-03-08 12:03:57 +00:00
rdb 4255c939d3 fix compile errors with older bullet versions 2014-03-07 22:27:11 +00:00
rdb 20c1f16291 Set default text-pixels-per-unit from 30 to 40 to improve default font quality 2014-03-07 22:09:29 +00:00
rdb 31b79dc554 Add raw keyboard event support on Windows 2014-03-07 19:45:02 +00:00
rdb a81e192ba5 Fix a compile warning on Windows 2014-03-07 19:43:48 +00:00
rdb 93ed8b275e Fix build for GLES 2014-03-07 19:14:45 +00:00
rdb 85a5be984f Raw button event support, with X11 implementation (untransformed QWERTY) 2014-03-07 12:52:15 +00:00
enn0x 455a504cec Fixes to Bullet soft body transform handling. 2014-03-05 23:15:53 +00:00
rdb 82eb82d026 Restructure code slightly to reduce code duplication, fix GLES compile errors 2014-03-05 15:23:12 +00:00
rdb 33f4aa520d Normal maps should affect aux normal even without lighting 2014-03-04 08:29:32 +00:00
enn0x ae820a30bc Cleaning up BulletContact (API changes only in C++) 2014-02-27 20:57:23 +00:00
rdb 52f1abeeae Remove French accent encoded in who-knows-what 2014-02-25 07:52:32 +00:00
rdb c15ce9885f Expose HierarchyMatchFlags to Python 2014-02-24 15:22:20 +00:00
enn0x 3ac369a3b0 Fix for bug #1282477 2014-02-23 09:49:12 +00:00
rdb a58ddb3cfa Add missing EXPCL_PANDAPHYSICS 2014-02-20 23:10:59 +00:00
rdb 607bdac3dc Add missing EXPCL_PANDAPHYSX symbols 2014-02-20 22:53:16 +00:00
rdb 3b1e193abb extension functions for ODE classes 2014-02-20 21:56:34 +00:00
rdb dd6cfe5fa9 Export EggParameters 2014-02-20 21:50:00 +00:00
enn0x e2c6e3fb56 Fix bug #1282466 2014-02-20 20:53:01 +00:00
rdb 7e455e0fad Add files that belonged to the previous commit 2014-02-20 13:58:23 +00:00
rdb 5f2c0a6e04 Big commit aiding in separation of Python bindings:
* Most extension functions have been moved to C++.
 * In makepanda, Python bindings are compiled into panda3d/<module>.pyd.
2014-02-20 13:33:26 +00:00
rdb 2ae458c2df Fix a bug with tangents and binormals 2014-02-20 12:37:08 +00:00
rdb bf4221da1e Fix crashes and borks with the Ogg Vorbis loader 2014-02-18 19:03:47 +00:00
enn0x 259d2df0c4 Added utility function BulletWorld::test_filter 2014-02-16 21:58:40 +00:00
rdb 04bbf28a71 Oops, forgot to check in header file as well. 2014-02-16 10:22:11 +00:00
rdb edab64c570 fix Cg error reporting and lack of shader unbinding 2014-02-15 21:34:57 +00:00
rdb bfebff1d0a don't compare modes an unnecessary second time. 2014-02-15 16:14:21 +00:00
enn0x 1a96ab9aa9 Added filtering for BulletWorld.contactTest 2014-02-14 23:31:07 +00:00
rdb 4da840805f Add support for k_time / osg_FrameTime inputs, and change the Shader Generator not to require a separate texcoord set for every texture in an effort to cut down on register overuse. 2014-02-10 11:32:06 +00:00
rdb 89749133ff oops, remove vorbis-enable-vfs which I never implemented 2014-02-10 11:25:39 +00:00
rdb ddcd74047b more error checks and allow disabling seeking and VFS behaviour 2014-02-10 11:24:36 +00:00
rdb 67d12cdd4a add InternalName::join(sep) 2014-02-10 09:51:21 +00:00
rdb 94962c15d2 addTexture -> add_texture 2014-02-10 09:50:37 +00:00
rdb de7ec424c7 Add get_tangent_name and get_binormal_name 2014-02-09 16:45:08 +00:00
rdb b8935be2c3 fix bug LP#1277916: MeshDrawer causes crash if setBudget not explicitly called 2014-02-09 10:41:26 +00:00
David Rose edd731b232 copy_channel_masked() 2014-01-29 17:30:40 +00:00
rdb 618781e7cc there's no reason to interrogate the ffmpeg code. 2014-01-17 22:09:53 +00:00
rdb 849dc05a60 Fix blunder 2014-01-13 22:06:47 +00:00
rdb 56577ec08a Don't rely on color fregs, they have unintended side-effects. Also, don't use up unnecessary registers when texgen is enabled. 2014-01-13 21:31:42 +00:00
rdb b781547956 a tiny optimisation to use less registers 2014-01-11 15:06:22 +00:00
rdb faa78c734e Add HAVE_PYTHON guards 2014-01-06 21:11:23 +00:00
rdb eeb2c4211f Fix compilation of raw mouse support in Linux 2013-12-25 13:59:08 +00:00
rdb ea22e87f79 remove GLX_EXT_import_context section entirely as we're not using it, and it uses GLXContextID which seems to give trouble related to conflicting definitions. 2013-12-23 22:08:33 +00:00
rdb 4e92e480e0 Make DatagramIterator typed (ask me if you want to know why) 2013-12-23 20:46:20 +00:00
rdb dd345d6c02 Add missing include 2013-12-16 21:03:22 +00:00
rdb e9ce924b54 Add missing include 2013-12-16 20:49:02 +00:00
David Rose f615e0beeb fix some stereo-fbo and cube map issues, introducing DisplayRegion::set_target_tex_page() 2013-12-06 23:45:40 +00:00
David Rose 741203a693 some minor debug aids and robustness additions 2013-12-06 20:53:40 +00:00
enn0x 47a66f0e54 Added method for getting Bullet version. 2013-12-03 21:28:57 +00:00
enn0x bfac6fa6be Added part info to Bullet raycast results. 2013-12-03 19:18:20 +00:00
enn0x cc79e24c6c Implemented tick callback for BulletWorld. 2013-11-30 13:25:08 +00:00
rdb 56334e73e8 try fix segfault (sorry!) 2013-11-22 10:53:19 +00:00
rdb 126573775a fix LP bug 1133771, RenderState.compare_to does not work with state-cache or uniquify-attribs disabled 2013-11-19 21:34:55 +00:00
rdb ea126d3175 missed a few PY_VERSION_HEX checks for buffer interface support 2013-10-29 17:42:58 +00:00
rdb 4a91704958 add copy_data_from version that takes a Python buffer object 2013-10-29 12:14:47 +00:00
rdb 2fdf53efb8 Add a version of offset_vertices that takes a range 2013-10-29 11:29:39 +00:00
rdb 87aa66f09c Py_buffer is not available in Python versions before 2.6 2013-10-29 10:36:16 +00:00
rdb 6296ed0a4e fixed issue that caused compiler warning 2013-10-27 17:28:47 +00:00
rdb d899d8e6ed update libRocket file interface 2013-10-23 16:45:27 +00:00
rdb bf270fadc1 only load default font if it's the ttf one, not the bam one 2013-10-23 16:38:48 +00:00
rdb 8383427022 patch by Josh Enes (bug 1074173) 2013-10-22 12:32:15 +00:00
rdb 829e79cf29 Load the default font (Perspective Sans) by default 2013-10-19 11:13:32 +00:00
rdb 0c83cc5530 crisp text in librocket (use nearest filtering instead of linear) 2013-10-19 08:44:59 +00:00
rdb 5463752f8e 64-bit windows 2013-10-07 16:51:46 +00:00
David Rose 8076fedd64 fix incorrect depth computation for OSphereLens 2013-09-27 22:20:44 +00:00
rdb 2dd56f9007 fix bug 2013-09-25 23:06:53 +00:00
David Rose fee446f949 add Texture::ensure_loader_type() to fix problem with reloading video textures from the model-cache directory. 2013-09-24 19:19:02 +00:00
rdb fccd9965ee support for using the mat3 type in a shader. make p3d_NormalMatrix a mat3. 2013-09-19 22:44:38 +00:00
rdb 30ef435607 Fix p3d_ModelViewMatrix and p3d_ProjectionMatrix and variants. Also add p3d_NormalMatrix. 2013-09-19 19:49:03 +00:00
rdb 3eefecbd0f Compile fix 2013-09-18 23:25:04 +00:00
rdb 2ac66761b1 fix 2013-09-18 19:11:51 +00:00
rdb c7784d2d93 fix 2013-09-18 18:25:04 +00:00
rdb f867ea701d sorry for the newlines 2013-09-18 15:52:36 +00:00
rdb 64c598abb1 various fixes for FBOs and image formats, including tobspr's patch for F_r16, F_rg16, F_rgb16 support. 2013-09-17 22:08:31 +00:00
Chris Brunner 3d74098257 un mac-ify the text 2013-09-17 18:49:18 +00:00
rdb cc3bae7e76 Big interrogate cleanup, new extension system, add __iter__ support, add buffer protocol support 2013-09-17 10:11:43 +00:00
rdb 5aa773b41a remove fmod speaker modes that aren't supported across versions 2013-09-16 10:18:26 +00:00
rdb 21def6e5cc fix ffmpeg compile issues? 2013-09-16 08:45:57 +00:00
rdb 48baa5c58e ffmpeg compatibility fixes 2013-09-16 07:21:06 +00:00
rdb e0ae9b1bc7 fix error when compiling without libswresample 2013-09-16 07:05:41 +00:00
enn0x 323d6b8a82 Bullet, fix for 64bit issue with btSoftBodyWorldInfo 2013-09-10 21:23:12 +00:00
rdb aa826304d7 Add missing include 2013-09-03 13:18:23 +00:00
rdb 87074cc505 append LL to integer constant to appease OS X compiler 2013-09-03 09:53:19 +00:00
rdb 324aacfbaa fix compile error with gcc 2013-09-01 12:40:56 +00:00
rdb 8992801b24 Don't use 'interface' as variable name, it conflicts with a built-in declaration in gcc 2013-09-01 07:15:57 +00:00
enn0x b6cd74f708 Bugfix for BulletbodyNode::add_shape (identity transform) 2013-08-30 18:28:20 +00:00
rdb 055919f936 whoops 2013-08-29 17:05:29 +00:00
Chris Brunner c6a66643e9 fix Windows compile error 2013-08-29 16:37:16 +00:00