Commit Graph

74 Commits (5eaa1870041cbec84a366f25ce534ca5c5e31f9f)

Author SHA1 Message Date
hybrid 9b1953ab33 Minor fixes for array fixing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3688 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-29 22:43:30 +00:00
hybrid f0d8ef93a1 Add function for framebuffer checking
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3666 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 23:35:49 +00:00
hybrid cd8a7f1aff Unify ogl_extension defines across Linux and Windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3665 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 23:15:45 +00:00
hybrid 8f2de7d521 Add blend equation function for MRTs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3661 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 14:26:26 +00:00
hybrid e5a7ecb684 Fix syntax error in Linux extension code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3658 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-23 11:03:59 +00:00
hybrid c512692ad0 Fix initialisation of blend equation pointers
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3654 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 17:21:36 +00:00
hybrid 9499db5637 Add support for blend operation field.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3652 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 13:08:48 +00:00
hybrid c895c0e150 Add implementations for polygon offset in hw drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3651 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:54:14 +00:00
hybrid 7fdd163034 Combine the vsync setting functions into one common extension function. Also added support for more swap_interval methods on X11 systems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3638 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 13:38:38 +00:00
hybrid 5e4d495dcc Bump copyright dates to 2011.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3556 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:24:40 +00:00
hybrid 68b6a2fd2a Fix ATI_draw_buffers support
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3494 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-08 00:37:09 +00:00
hybrid 88a3cc6126 Add variable to store the maximum number of simultaneously supported textures of the driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3404 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:00:54 +00:00
hybrid d52e51242a Add the missing extension pointers for NV_occlusion_query
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3268 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-01 21:08:11 +00:00
hybrid 99a25cfbc9 Remove debug output, add ifdefs for OpenGL versions not supporting ARB_occlusion_query. Add support for NV_occlusion query.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3266 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-01 16:18:42 +00:00
hybrid ccd1a241c3 Occlusion Query support.
I've finally took on Nadro's code from the forum and adapted it to overcome some restrictions of the original code. Moreover, there are some additional tweaks to make it simpler to use. A few minor things might still change in the future, but for now it looks like a proper implementation with many useful use cases. I'll come back on this in the next time when I provide an example for efficient usage of occlusion queries.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3265 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-01 15:40:10 +00:00
hybrid dc41969f1f occlusion query extension API necessary for OpenGL extension added. Not usable from Irrlicht API so far.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3262 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-29 21:39:36 +00:00
hybrid f14c5628b8 Add some gpu memory info output where possible.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3259 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-26 17:49:08 +00:00
hybrid 9c4bb40b6c Fix some more typos in gl extension usage and new GLSL interface
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3226 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-16 19:55:47 +00:00
hybrid b74a85df05 Add the new OpenGL2.x scheme for shader creation.
Properly clean up shaders, which were not completely removed before.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3214 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-10 17:17:33 +00:00
hybrid 2922d1736d Fix used extension names.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2930 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-26 18:28:22 +00:00
hybrid 92b77f2f02 Prepare for support of more ASM shader models.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2929 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-26 17:07:55 +00:00
hybrid 8e4002126f Geometry shaders need triangle_, not triangles, as output type
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2928 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-25 13:53:15 +00:00
hybrid 51545ba051 Add geometry shaders for OpenGL. Implementation is largely influenced by ideas from devsh. Right now the input and output types are fixed to EPT_TRIANGLES, the maximal output vertices are only limited by the driver, and some geometry shader extensions are wrongly used. Will be fixed in the near future.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2926 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-24 23:35:43 +00:00
hybrid 9b418dbd9e Oops, wrong extension defines and wrong maximal count.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2917 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-23 19:53:35 +00:00
hybrid 9cf8f0fe07 Properly store the MAX_AINSOTROPY level.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2898 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 13:53:17 +00:00
hybrid 3d467cb42e Merged revisions 2778:2832 from 1.5 branch. Fix a driver feature return value and a render state bug for OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2833 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 16:30:34 +00:00
hybrid 1bb093d561 Add BlendFunc support for MRTs under OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2810 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 18:07:31 +00:00
hybrid 4030c50364 Add support for mrt separate blend and colormask in OpenGL. Update OpenGL extension headers to latest version.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2809 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 17:36:20 +00:00
hybrid 91e86f4c9c Add MRT support for OpenGL and Direct3D9. This patch is heavily based on the code from Nadro. This version supports also special render targets for OpenGL, and is already prepared for further MRT extensions such as per-target blend support. The d3d9 version is not yet tested.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2808 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 16:53:35 +00:00
hybrid dd98649ba5 case typo.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2595 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-12 19:53:24 +00:00
hybrid 16f8b240a6 Add provoke vertex support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2593 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-12 14:55:59 +00:00
hybrid 707f59b89e Merged revisions 2530:2574 from 1.5 branch. Updated upgrade-guide.txt. Unified point attenuation behavior. Removed wrong inlines.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2575 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-07 07:46:29 +00:00
hybrid 5f262b4563 Move wgl extension into platform specific init code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2563 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 23:32:15 +00:00
bitplane c0170c7c48 Allow multiple device types compiled in at the same time. Renamed _IRR_USE_LINUX_DEVICE_ to _IRR_USE_X11_DEVICE_, added missing platform for Windows CE. Currently only tested in Linux (X11, SDL, console)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2513 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 17:09:24 +00:00
hybrid a86a07567e Some safety add-on to cope with bad OpenGL implementations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2433 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-24 20:34:21 +00:00
hybrid c26cb45461 Merged from 1.5 branch, revisions 2137:2293. Minor bugfixes, some doc updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2295 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-17 17:42:34 +00:00
hybrid 0d8210fa44 Add Mipmap LOD Bias to texture layers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2133 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-23 17:08:39 +00:00
hybrid d51b2f8349 ColorMask support. Allows for selective disabling of color planes upon rendering.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2130 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-23 00:35:46 +00:00
hybrid 9719d19c45 Fix typo spotted by Dorth.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2099 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-20 08:23:50 +00:00
hybrid 0622b4fb07 Constrain texture size by maximal allowed value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2098 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-19 17:37:08 +00:00
hybrid accdcfa76d Remove unnecessary member.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2087 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-18 22:34:39 +00:00
hybrid 662e2dc24a Reduce size of OpenGL extension handler.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2075 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-14 18:03:44 +00:00
hybrid 7472bcd83c Merged from 1.5 branch to trunk, all changes from 2042 to 2071. cursor setVisible fix, OSX FPS cam fix, ALPHA_CHANNEL_REF fix, new method draw2dRectOutline, setOverrideFont fixes, getCollisisonPoint distance bug fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2072 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-14 12:37:51 +00:00
hybrid 6fe8e2d89d Merged from 1.5 branch to trunk, all changes from 2018 to 2041. OSX keyboard fix, OpenGL version fix, some tests fixed. Example 9 text position fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2042 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-05 15:34:22 +00:00
hybrid e7ced16d04 Made the Anisotropic Filter degree configurable via the SMaterialLayer member which had been a bool formerly. Using the setFlag in SMaterial should still give MaxAnisotropy level as before.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2034 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-05 00:30:11 +00:00
hybrid 493f688fda Added a driver feature check for non-square textures (which some d3d drivers don't seem to support...). It's not yet used in size calculations, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1612 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 22:27:15 +00:00
hybrid c55da82a0c Merged revisions 1357:1366 from 1.4 branch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1367 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-12 11:15:45 +00:00
hybrid cdffc4a5d6 Merge from branch 1.4, revisions 1344:1352, which are the doc updates from the 1.4.1 release.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1353 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-22 11:51:37 +00:00
hybrid 755e117078 Merged from 1.4 branch revisions 1316:1328.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1329 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 11:34:54 +00:00
hybrid e7add51880 Merged from 1.4 branch revisions 1272:1279
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1280 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-05 00:02:00 +00:00