Commit Graph

7794 Commits

Author SHA1 Message Date
rdb d92008a76d Protect against crash 2010-05-07 14:36:18 +00:00
Abhishek Nath da0908002c Stop the hard crash at the python level when maximum buffer size is exceeded 2010-05-07 05:56:29 +00:00
David Rose 91e6231a3c apply per-attrib override to TexMatrixAttrib also 2010-05-06 01:12:34 +00:00
rdb 045f7acb41 Fix compilation error when compiling without support for Cg 2010-05-05 15:19:41 +00:00
Mike Christel 01b720ceb9 Added get_supports_cg_profile 2010-05-05 14:13:24 +00:00
David Rose 9d62ca9f98 one override per TextureStage, instead of a global override per TextureAttrib 2010-05-04 22:39:40 +00:00
David Rose 2475878a70 temp_context 2010-05-04 19:34:32 +00:00
David Rose 24c91f85f3 x_error_count, etc 2010-05-04 19:33:27 +00:00
David Rose 42a456b2db protect against gcc compiler bugs in general 2010-05-04 17:07:15 +00:00
Mike Christel ad30e4c71f Overload improved (not optimal, but better than list of string arguments) to set_shader_auto to allow any of normal, glow, gloss, ramp, shadow to be turned on or off via bitmask 2010-05-03 16:41:16 +00:00
David Rose 6a7580ca45 TextFont::make_copy() 2010-05-03 03:51:15 +00:00
David Rose 62889f3fa6 fix release_font issue 2010-05-03 03:21:22 +00:00
David Rose 5e09cff612 Thread::is_simple_threads() 2010-05-01 19:21:58 +00:00
David Rose 5e8d539f1f move OS_SIMPLE_THREADS to dtool_config.h 2010-05-01 16:10:54 +00:00
David Rose aa7c806ff4 fix dxgsg9 shader support with new PandaSE stuff 2010-05-01 01:29:51 +00:00
David Rose 26cde69b5c use OS_SIMPLE_THREADS, and add posix threads support 2010-04-29 18:45:43 +00:00
Mike Christel 5dfa504370 Texture arrays added to Texture class, passed to shader through setShaderInput(name, texture). A new Cg type sampler2DArray has been added to the panda3d Shader Class. 2010-04-29 14:48:44 +00:00
David Rose 93583d77bc work around compiler bug 2010-04-28 22:55:33 +00:00
David Rose c489fbeefc is_true_threads() on win32 case 2010-04-28 18:22:46 +00:00
Mark Wojtowicz 3255e51f1d Bring in some lines from the DX9 gsg to fix textures getting swapped to their simple form but not getting reloaded. 2010-04-28 16:25:09 +00:00
Zachary Pavlov f1cb508349 using a hexy to keep the segment non-axis-aligned 2010-04-28 01:57:32 +00:00
David Rose e5751db70a mac build error 2010-04-27 22:47:41 +00:00
David Rose dbf690e844 whoops, lost _offset assignment 2010-04-27 22:37:24 +00:00
Zachary Pavlov 4930c9a6f2 collision segment that does not extend to an infinite bounding volume 2010-04-27 22:16:41 +00:00
David Rose c3eace229e add vfs::mount_loop() 2010-04-27 21:45:00 +00:00
David Rose 15d98ead96 experiment with WIN_THREAD_CONTEXT 2010-04-27 21:30:08 +00:00
rdb 0e54f8b85b Work around compiler optimisation bug on FreeBSD by swapping two lines of code :-/ 2010-04-25 08:30:02 +00:00
rdb 54769c76b5 Fix compilation error for OpenGL ES 2 2010-04-23 12:13:37 +00:00
rdb a464e45c0e Apply fix from andresv to fix flickering objects with a shader 2010-04-18 15:50:15 +00:00
Mike Christel 671276fa6d Fixed bug with textures in synthesize_shader (case TextureStage::M_modulate): separate textures formatted as alpha were wiping the color info off the resulting rgb 2010-04-16 18:50:32 +00:00
Mike Christel c308b57137 Overload added to set_shader_auto to allow any of normal, glow, gloss, ramp, shadow to be turned on or off 2010-04-16 14:06:26 +00:00
David Rose 674099f5c1 osx-support-gl-buffer 2010-04-13 23:05:07 +00:00
David Rose 30155fb72e add support for uncompressed luminance and luminance-alpha dds files 2010-04-13 17:19:18 +00:00
David Rose 848d439f72 compilation errors 2010-04-12 18:55:31 +00:00
rdb c9073b1d80 Put back a fix that the PandaSE team happily but accidentally reverted 2010-04-12 16:47:59 +00:00
rdb f76a3b37da Fix compiler warning 2010-04-09 13:15:19 +00:00
David Rose 481aa0d8ec fix to typo 2010-04-07 22:54:26 +00:00
David Rose f7b9b5144d whoops, forgot too 2010-04-07 22:26:54 +00:00
David Rose 31fd59476a migrate UvScrollNode -> pgraphnodes 2010-04-07 22:02:31 +00:00
enn0x 8dd0b6ca96 Cloth simulation and rendering. No tearing yet. 2010-04-07 18:42:06 +00:00
rdb 06167a0ec7 Shouldn't do so without actually trying my fix first, though 2010-04-07 17:30:17 +00:00
rdb c700c23c28 Attempt to fix build without HAVE_CG 2010-04-07 17:28:53 +00:00
rdb 102b46878e More compatibility with exotic compilers (yes, I actually tried to port Panda to clang) 2010-04-07 16:59:46 +00:00
Mike Christel 6418e6f221 extended shader input system support for Cg (see Panda SE Project 2010-03-17 blog post for more details) 2010-04-07 11:16:29 +00:00
treeform d5ebb58874 Added more debug messages to openAL audio manager for closing it.
We use resent OpenAL-soft in the distribution (1.12 or more instead of 1.8)

There is this bug:
OpenAl soft some times selects ALSA software
ALSO software some times has a bug working with pulse audio
So we need to make sure OpenAL uses pulse audio directoly, then it works.

KittCat (openAL soft author):
well, more like worked around it. but it's not something I can fix in openal soft
I've gone over the code several times and had other people comment on it. alsa just enables mmap when using the pulse plugin even though the plugin doesn't support it
using the pulse api directly (or disable using mmap with alsa) gets around the problem, though
2010-04-03 07:26:00 +00:00
treeform d5071f89b6 I have added the debug output for AL_RENDERE AL_VENDER and AL_VERSION when starting openAL 2010-04-03 06:08:56 +00:00
David Rose 3293a6574a http-preapproved-server-certificate-name 2010-04-03 01:17:45 +00:00
Mark Wojtowicz 822c496f68 Fixed typo in apply_clip_plane() causing only the first plane to be considered. 2010-04-02 23:09:58 +00:00
enn0x 05c8023f55 Fixing broken build, and undoing previous quickfix. 2010-03-28 21:25:51 +00:00
enn0x b7eb84762f Define cloth classes/methods only if PhysX cloth API is defined (Not yet tested). 2010-03-28 19:01:03 +00:00