Commit Graph

21583 Commits

Author SHA1 Message Date
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 b3630c4e18 Don't mangle certain numeric typedefs in API reference 2015-05-14 17:15:59 +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
Ed Swartz e9fa116d17 Dynamically adjust camera clip range in pview 2015-05-11 12:59:25 -05: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
rdb c854872714 Merge pull request #26 from eswartz/pr-rocket-fix-file-lookup-alone
Resolve libRocket assets along the model-path
2015-05-07 09:46:13 -05: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
rdb f82c942d87 Merge pull request #23 from eswartz/fix-alpha-image-asserts
Check for existence of alpha channel in alpha image when loading texture with separate alpha image
2015-05-05 12:39:47 -05: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 118ed131ca direct: Resolve missing import in Actor. 2015-05-02 22:14:17 +02:00
Sam Edwards 184901309e general: Fix missing includes. 2015-05-02 22:14:17 +02:00
Sam Edwards 88bb4102b2 dtoolbase: Rename pdtoa.c -> pdtoa.cxx.
It's actually a C++ file (contains C++-only constructs) and should have the proper file extension so it compiles with the appropriate language.
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
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
rdb 077d03a9f6 Center p3dCert on screen, and make it a modal dialog 2015-04-25 17:09:50 +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 f6841d7fc5 Add sample program demonstrating the mouse modes 2015-04-17 15:26:57 -05:00