Commit Graph

342 Commits (8863d11e6547b88e01d6e4bc6ed4bd8f62405a7d)

Author SHA1 Message Date
nadro 8863d11e65 - Fixed compilation issues on OSX.
- Added new XCode projects for engine and all examples (ARC enabled, proper bundles etc.).
- Added external context manager with support for NSOGL.(this feature was available in ogl-es branch before).
- Removed *.nib dependencies from OSX project (menu is created programmatically).
- Added missing _IRR_OVERRIDE_ for some methods.
- Renamed MacOSX to OSX directories.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5202 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-05 12:07:45 +00:00
nadro 48bf4009c7 - Added external context managers with support for WGL and GLX.(this feature was available in ogl-es branch before)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5199 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-29 20:12:51 +00:00
nadro f9f665e603 - Fixed compilation issues on Linux.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5197 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-28 22:33:28 +00:00
nadro f631c9cb96 - Added cubemap texture support for OpenGL driver.(this feature was available in ogl-es branch before)
- Minor improvements in texture creation process.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5190 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-26 23:03:24 +00:00
nadro 947a1c9256 - Prepared COGLCoreTexture to support Cubemaps.
- Fixed issue related to sphere mapping on the whole scene (visible eg. in Tech Demo). Thanks AReichl for report this issue.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5185 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-15 15:19:23 +00:00
nadro c6fd504cf4 - Improved COGLCoreTexture::lock method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5177 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-11 19:02:55 +00:00
nadro 1553bef11f - Added initial version of shared OpenGL texture. In upcoming commits existing issues will be fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5172 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-08 16:49:13 +00:00
nadro 609eba77bf - Improved mipmaps handling (this modification was required for better support of cube maps and texture arrays in near future).
- Set IImage::lock and IImage::unlock methods as deprecated (those method names was wrong, IImage::unlock did nothing...). Please use IImage::getData method instead of older alternatives.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5168 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-01 14:24:15 +00:00
nadro d6a197b5a8 Prepared OpenGL CacheHandler class for the new architecture of Irrlicht's shared OpenGL drivers code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5165 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-20 20:59:53 +00:00
nadro 1669566630 - Prepared OpenGL RenderTarget class for new architecture of Irrlicht's shared OpenGL drivers code (new architecture will allow us to adopt new OpenGL drivers faster and makes different drivers easier to maintain).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5163 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-18 19:21:20 +00:00
nadro 1cb3573052 - Fixed issue related to compilation issues on VS2015 in some cases due to unimportant namespace prefix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5158 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-17 15:57:07 +00:00
nadro 2f3ca311d2 - Renamed COpenGLCallBridge to COpenGLCacheHandler and moved this class to dedicated files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5156 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-17 12:42:56 +00:00
nadro fface044dd - Rewritten OpenGL textures cache.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5154 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-16 15:48:40 +00:00
nadro 3fe418bc41 - Removed texture IDs parameter from IVideoDriver::setRenderTarget method. Performance gain was too low to keep this parameter available.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5152 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-16 08:47:55 +00:00
nadro 07a7d9ee2e - Added clear buffer flags.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5151 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-15 18:20:06 +00:00
cutealien d2169fc4a5 Add a new flag for controlling zbuffer writing to SMaterial.
In 4774 we tried fixing zwriting for shader materials as those are ignored in SMaterial::isTransparent.
This affected too many existing projects and made it hard to still write to zbuffer in some situations where it was necessary. So trying now another approach which brings back old functionality mostly, but allows users to have more fine-control with a new flag. Using an enum instead of bool for the new flag as it's foreseeable that more options might be necessary for this in the future.
Note: Several tests are currently failing, but they did that before, so that has to be debugged on it's own.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5076 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-06 15:20:06 +00:00
nadro b23954ebef - Fixed issue with simplified IVideoDriver::setRenderTarget method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5074 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-01 17:33:52 +00:00
nadro 538751d85c - Added new IRenderTarget interface.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5068 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-23 19:00:17 +00:00
cutealien ab330c1204 Replace the swprintf and snprintf defines by swprintf_irr and snprintf_irr to avoid conflicts with the standard libraries (and other libraries).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5055 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 22:00:17 +00:00
cutealien 1fa7e87f5e NVidia CG support removed due to lack of maintenance.
Note, I would have liked to get it compiling again a last time, but it was referring to a class which didn't exists, so I didn't know what to make of that.
NVidia has also stopped supporting this by the way.
No changes for MacOSX project files, so those still might have to be fixed.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5046 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-02-28 20:11:40 +00:00
nadro ed321197a7 - Solved issue related to crash at screenshot unit test.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4991 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-12-04 18:37:52 +00:00
nadro 1ec89f0d7f - Fixed issue related to rev4986.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4989 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-12-03 00:20:06 +00:00
nadro e80ad8ecf8 - Fixed issue related to crash at draw2DImage methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4986 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-11-08 22:16:07 +00:00
nadro 657fad2385 - Added ability to set custom depth/stencil texture for render targets (currently OpenGL only).
- Added new color formats: ECF_D16, ECF_D32, ECF_D24S8 (currently OpenGL only).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4984 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-11-07 21:34:14 +00:00
nadro 7b46d86889 - Added partial support for R8 and R8G8 color formats (at now OpenGL only). Thanks Hendu for this patch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4982 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-11-03 18:30:20 +00:00
nadro bea36566ca - Added support for Color Mask in OpenGL call bridge.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4980 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-10-27 18:16:29 +00:00
cutealien f591a5acde Merge branch releases/1.8 revisions 4828:4923 into trunk:
- Fix bug with multiple SetPixelFormat calls.
- Fixed bug related to memory release in PNG image loader. Thanks elephoenix for it.
- Fix crash in CGUIListBox when users pressed end key folled by any other key in an empty, focused list box (thanks at porcus for report and patch).
- Fix use of enabling defines for wal2 (halflife) image loader. Thanks to hendu for noticing.
- Fix proper screenshot creation in test by inserting the stabilizeScreenBackground call.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4925 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-17 16:00:52 +00:00
nadro 8406352417 Fixed issues with setViewPort method under OpenGL. (reported by anontypist)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4919 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-12 18:22:10 +00:00
nadro b5ade26c98 - Fixed issue with BlendFactor in D3D8, D3D9 and OpenGL drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4883 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-05-26 16:39:06 +00:00
nadro 94cb29bd27 - Removed glGetError calls (IBO and VBO update) from release builds.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4882 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-05-25 15:48:18 +00:00
nadro 5391f4fe8c - Fixed issue with color mask in OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4879 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-05-25 15:20:14 +00:00
nadro abb713025e - Fixed issue with OpenGL bridge calls texture cache.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4875 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-05-21 20:48:04 +00:00
cutealien e85379a912 Fix build on Visual Studio (sorry, didn't know VS still doesn't support strtoull).
Fixed a few warnings on Windows.
BuildAllExamples project files now working for VS 2011 and VS 2008 (VS 2005 still hasn't new project as I don't have VS 2005 installed anymore... we probably should drop support for that).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4802 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-28 11:10:55 +00:00
nadro 9bad8de603 - Added separate blending support for both OpenGL and D3D9.
- Added blend factor to SMaterial.
- Improved transparent nodes handling.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4794 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-25 01:19:38 +00:00
nadro 995f2bd75f - Minor fixes in blend operation mechanism.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4783 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-21 15:30:35 +00:00
nadro 9c3e0d6bd0 - Fixed issue with OpenGL MRTs indexed blending.
- Optimized OpenGL blending calls.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4782 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-20 23:17:24 +00:00
nadro ea41a9146f - Remove force blending mechanism and improve blending handling in material renderers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4775 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-16 21:31:52 +00:00
nadro de6df498e6 Fixed issue with wrongly enabled Z-writing for transparent shader materials. Thanks Hendu for this fix.
Fixed issue with missing blending when transparent shader material is used with blending operation set to EBO_NONE.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4774 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-15 18:21:23 +00:00
hybrid e0c819b1c1 Merged updates from 1.8.1 release to trunk, revisions 4579-4615.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4616 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-11-28 10:37:09 +00:00
nadro e1675c83ce - Moved setBasicRenderStates methods calls in shader based material renderers to the same place as in standard fixed pipeline material renderers (first lines of OnSetMaterial method).
- Fixed bug with texture states in OpenGL.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4561 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-07-08 14:56:16 +00:00
nadro 5cfeba46c0 - Fixed compilation issues with CG support enabled.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4560 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-07-03 21:48:02 +00:00
nadro 40df626e0b - Improved switch between fixed and programmable pipeline materials.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4559 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-07-01 20:38:18 +00:00
hybrid f220d10900 Fix name and parameters of draw2dImageBatch call, which was not yet used due to wrong override.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4540 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-06-17 09:24:58 +00:00
nadro a287977bc6 Fixed bug in OpenGL 2D rendering system. Thanks Hendu for report this bug.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4515 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-05-01 11:21:22 +00:00
hybrid 6c7ac760d4 Fix some indentation and white spacing before parantheses
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4493 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-04-04 16:31:34 +00:00
nadro 1b37134284 - revert rotation patch from rev4478. Texture Matrix will be default solution for manipulate 2d image drawing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4480 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-03-18 16:19:02 +00:00
cutealien 45a8e00fe6 Fix a bunch of warnings (mostly about constructor initializer order)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4479 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-03-18 11:25:46 +00:00
nadro 5f4c2795ef - Added support for rotation 2D images. This patch base on FuzzYspo0N patch from irrEXT. (Software drivers aren't supported).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4478 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-03-16 03:03:15 +00:00
nadro 758c1ff0dc - Fixed MacOSX compilation issues.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4444 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-01-17 14:42:20 +00:00
nadro ba95913a1a - Added next optimizations to OpenGL driver related to blending, alpha testing and cull facing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4426 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-01-03 19:28:50 +00:00