804 Commits

Author SHA1 Message Date
hybrid
2ba228a486 New OpenGL-ES 2.x driver. This is a fully shader based render pipeline, which is compatible with, e.g., latest iPhone and other smartphone systems, and embedded devices such as the Pandora game console and the Beagle board.
The whole implementation of the new driver was provided by the folks from Amundis (http://amundis.fr/index.php?lang=en). There are more projects to come from them. Many thanks to Thibault and his colleagues for providing the code for inclusion in the engine.
Please note that you have to remove not only the OpenGL driver (automatically done in IrrCompileConfig once the ogl-es driver is enabled there), but also the linking against the opengl32.lib in the project files. Otherwise no rendering will happen.
Also note that the driver currently does not support all features of the engine. Some materials are not fully working, the shadow system seems to be missing, and the mipmapping is broken. These things will be fixed in future bug fixes.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@3370 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-08 17:46:48 +00:00
hybrid
a8183ff5eb Merged from trunk, revisions 3300-3365. Another large bugfix merge.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@3369 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 21:25:27 +00:00
hybrid
28c067bac4 Merged revisions 3175-3300 from trunk. Another huge update, bringing the ogl-es branch to the latest version of Irrlicht.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@3301 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-01 22:52:38 +00:00
hybrid
cecc853066 Error message check added for egl setup.
Updated to latest OpenGL driver code to fix AntiAlias etc.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@3178 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-24 20:26:32 +00:00
hybrid
2e64811c73 Make project compilable again. Not all new things ported from OpenGL, yet.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@3176 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-24 01:44:36 +00:00
hybrid
6e7c44fe95 Merged revisions 2897:3173 from trunk. Huge update with uncountable fixes, additions, etc.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@3174 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-23 20:13:43 +00:00
hybrid
c4abef60fb Fix typo in typdefs
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@3170 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-23 15:30:04 +00:00
hybrid
05d2224f14 Fix null pointer access spotted by grafikrobot.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2906 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 17:20:43 +00:00
hybrid
540e65604f Fix compile problems with iPhone target and ogl-es extensions, as reported by grafikrobot.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2902 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 16:24:11 +00:00
hybrid
477103a05d Add more read back formats.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2897 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 13:21:33 +00:00
hybrid
16bbb4f8a2 Add mipmap lod support for ogl-es 1.x
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2896 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 13:03:04 +00:00
hybrid
82a43d2586 NPOT support for ogl-es 1.x
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2895 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 12:46:09 +00:00
hybrid
4f159dddfe Fix texture wrap changes in ogl-es driver. Update ogl-es extensions.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2894 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 12:30:26 +00:00
hybrid
2832a61dd2 Merged revisions 2781:2892 from trunk.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2893 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 10:08:00 +00:00
hybrid
944368eb36 IPhone device fixes by grafikrobot.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2822 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-09 17:14:47 +00:00
hybrid
459595d106 Add another define check for better recognition of IPhone targets, as suggested by FuzzYspo0N.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2788 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 17:05:06 +00:00
hybrid
0aa5845e59 Merged revisions 2695:2780 from trunk.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2781 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-02 17:20:21 +00:00
hybrid
d1425bf264 Adapt IPhone device creation to new multi-device scheme.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2762 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 18:52:35 +00:00
hybrid
2eaf347997 Fix IPhone platform recognition and defines.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2761 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 13:30:51 +00:00
hybrid
9e66c132cc Add some more missing methods, mentioned by zillion42.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2757 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 09:22:06 +00:00
hybrid
b30258d298 Fix missing endif.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2756 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 09:15:30 +00:00
hybrid
0126003ec8 First set of fixes to make ogl-es driver usable with latest Irrlicht API again.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2706 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-01 17:00:20 +00:00
hybrid
1584e0d569 Merged revisions 2441:2694 from trunk. This is a huge update which brings the ogl-es branch to the latest 1.6 state. No updates for the ogl-es driver have been incorporated, this branch might not even compile properly right now. I'm just very happy that the merge finally went through...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2695 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-09-16 12:48:19 +00:00
hybrid
1236efd02d Remove extra namespace in iphone device.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2452 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-08 07:53:56 +00:00
hybrid
62b99601d7 Fix extern C qualification for iphone device.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2451 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-08 07:52:07 +00:00
hybrid
c8dec82caa Fix interface for iphone device and restrict MaxTextures by hw and Irrlicht values.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2450 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-07 12:56:49 +00:00
hybrid
6ff85907c0 Merged revisions 2375:2440 from trunk.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2441 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-03 09:11:53 +00:00
hybrid
3d0826b5e6 Fix deprecated cstring method. Add extern C for proper linkage.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2429 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-23 22:29:03 +00:00
hybrid
e003e1c6dd Fix the eglChooseConfig setup to use the screen that matches the actual config.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2391 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-11 16:39:49 +00:00
hybrid
672d03e565 Enable the _wrap stencil modifiers to fix some holes in the shadows (where supported).
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2390 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-11 12:26:40 +00:00
hybrid
d5334cc5e7 Remove non-existing extensions for stencil buffer.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2389 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-11 12:20:23 +00:00
hybrid
bd19d5345a Disable point attenuation when using point size arrays.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2388 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-11 12:16:18 +00:00
hybrid
8344276d93 Add support for point_size_array. We use normal.X for storing the thickness, as long as we don't have a flexible vertex format.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2387 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-11 09:28:22 +00:00
hybrid
2f4a0ddd4e Another missing symbol in the extension headers...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2386 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-10 23:27:42 +00:00
hybrid
0c30ce8cf7 Add support for 32bit indices under ogl-es. Needs a backup handling in case the extension is missing.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2385 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-10 23:25:22 +00:00
hybrid
522835bc6f new version of the opengl-es extension headers.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2384 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-10 23:24:22 +00:00
hybrid
fb8f873348 Support texture creation flags for FBO textures. Add support for platforms without rgba8 extension.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2383 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-10 20:05:53 +00:00
hybrid
fc7d99d230 Properly use the mirrored_repeat extension
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2382 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-10 20:04:10 +00:00
hybrid
6be8395c32 Fix warning
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2381 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-08 21:50:11 +00:00
hybrid
6c7b023e12 Added pointcloud material property support, just as the wireframe with some overhead (though without render artifacts).
Fixed anisotropy handling.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2380 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-08 21:47:06 +00:00
hybrid
ab418db501 Add support for more texture formats
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2375 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-07 22:14:00 +00:00
hybrid
ee39620f49 Add initial support for ogl-es platforms without BGRA support.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2374 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-07 17:05:05 +00:00
hybrid
1314a6bfd0 Make 3dline really 3d.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2373 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-07 10:56:20 +00:00
hybrid
188eb19caf Support wireframe emulation.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2372 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-07 09:34:53 +00:00
hybrid
1dfe196b0e Fix the BGRA extension recognition (or whichever extension comes last in the extension string). With latest emulator also colorkey works.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2371 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-06 23:54:52 +00:00
hybrid
b958ddd590 Added new extension names, add support for user clip planes without IMG extension.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2370 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-06 20:45:56 +00:00
hybrid
246878f6aa Fix missing extension checks, add access to driver (for error testing) to initExtensions. Unify setup with OpenGL driver.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2369 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-06 19:33:53 +00:00
hybrid
a569cd5d64 Support all depth write modes, colormask, and anti-aliasing
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2368 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-05 23:27:57 +00:00
hybrid
9e2ffce0f2 Fix onetexture_blend material
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2367 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-05 22:35:59 +00:00
hybrid
724f02c7c8 Fix and adapt more changes from latest merge
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2366 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-05 22:27:24 +00:00