Commit Graph

807 Commits (9b277bea387581e130444e244031a753a391e873)

Author SHA1 Message Date
hybrid 9b277bea38 Make shader path for ogles2 configurable via define.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@3561 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 17:30:24 +00:00
hybrid de2e004b83 Merge from trunk, revisions 3370-3559. Huge update to catch up with Irrlicht 1.7.2+ and latest 1.8 developments.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@3560 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 15:36:50 +00:00
hybrid 7ac7c9cb9c Fix parameters in ogl2 extension handler, thanks to kine for the hint
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@3495 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-10 15:48:16 +00:00
hybrid 4f6edf5e2e 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: svn://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 ab5739f571 Merged from trunk, revisions 3300-3365. Another large bugfix merge.
git-svn-id: svn://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 7bae34bc61 Merged revisions 3175-3300 from trunk. Another huge update, bringing the ogl-es branch to the latest version of Irrlicht.
git-svn-id: svn://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 253a79d605 Error message check added for egl setup.
Updated to latest OpenGL driver code to fix AntiAlias etc.

git-svn-id: svn://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 6afbf25467 Make project compilable again. Not all new things ported from OpenGL, yet.
git-svn-id: svn://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 d07fc00916 Merged revisions 2897:3173 from trunk. Huge update with uncountable fixes, additions, etc.
git-svn-id: svn://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 bd615dca68 Fix typo in typdefs
git-svn-id: svn://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 f9cee8b42d Fix null pointer access spotted by grafikrobot.
git-svn-id: svn://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 659e3aecec Fix compile problems with iPhone target and ogl-es extensions, as reported by grafikrobot.
git-svn-id: svn://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 e16e777479 Add more read back formats.
git-svn-id: svn://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 add7eee4f6 Add mipmap lod support for ogl-es 1.x
git-svn-id: svn://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 b7277c921a NPOT support for ogl-es 1.x
git-svn-id: svn://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 1852463cc6 Fix texture wrap changes in ogl-es driver. Update ogl-es extensions.
git-svn-id: svn://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 329f550b17 Merged revisions 2781:2892 from trunk.
git-svn-id: svn://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 9167c11177 IPhone device fixes by grafikrobot.
git-svn-id: svn://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 eabe3b66aa Add another define check for better recognition of IPhone targets, as suggested by FuzzYspo0N.
git-svn-id: svn://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 2061a3862f Merged revisions 2695:2780 from trunk.
git-svn-id: svn://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 e90ac51539 Adapt IPhone device creation to new multi-device scheme.
git-svn-id: svn://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 acb46f443e Fix IPhone platform recognition and defines.
git-svn-id: svn://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 1480c07541 Add some more missing methods, mentioned by zillion42.
git-svn-id: svn://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 c46c4411e7 Fix missing endif.
git-svn-id: svn://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 102926d963 First set of fixes to make ogl-es driver usable with latest Irrlicht API again.
git-svn-id: svn://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 72e83023ec 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: svn://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 735dca5817 Remove extra namespace in iphone device.
git-svn-id: svn://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 86b331fee4 Fix extern C qualification for iphone device.
git-svn-id: svn://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 30109a2c7c Fix interface for iphone device and restrict MaxTextures by hw and Irrlicht values.
git-svn-id: svn://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 b24d213745 Merged revisions 2375:2440 from trunk.
git-svn-id: svn://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 e70fb7a727 Fix deprecated cstring method. Add extern C for proper linkage.
git-svn-id: svn://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 a539bb967d Fix the eglChooseConfig setup to use the screen that matches the actual config.
git-svn-id: svn://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 2ff5a3e73b Enable the _wrap stencil modifiers to fix some holes in the shadows (where supported).
git-svn-id: svn://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 73e9295d1a Remove non-existing extensions for stencil buffer.
git-svn-id: svn://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 d8aacaca86 Disable point attenuation when using point size arrays.
git-svn-id: svn://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 ef3f4ed54c 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: svn://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 a296a13e19 Another missing symbol in the extension headers...
git-svn-id: svn://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 19c9fadeed Add support for 32bit indices under ogl-es. Needs a backup handling in case the extension is missing.
git-svn-id: svn://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 36c3956acd new version of the opengl-es extension headers.
git-svn-id: svn://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 f8ed103306 Support texture creation flags for FBO textures. Add support for platforms without rgba8 extension.
git-svn-id: svn://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 d3bc455757 Properly use the mirrored_repeat extension
git-svn-id: svn://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 19a564ac57 Fix warning
git-svn-id: svn://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 54fb3e079d Added pointcloud material property support, just as the wireframe with some overhead (though without render artifacts).
Fixed anisotropy handling.

git-svn-id: svn://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 66e0fc6eb3 Add support for more texture formats
git-svn-id: svn://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 e57e7d48c7 Add initial support for ogl-es platforms without BGRA support.
git-svn-id: svn://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 24e4b4d663 Make 3dline really 3d.
git-svn-id: svn://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 14dada0d4e Support wireframe emulation.
git-svn-id: svn://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 e7fcfef180 Fix the BGRA extension recognition (or whichever extension comes last in the extension string). With latest emulator also colorkey works.
git-svn-id: svn://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 d101418b56 Added new extension names, add support for user clip planes without IMG extension.
git-svn-id: svn://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 d49174fa82 Fix missing extension checks, add access to driver (for error testing) to initExtensions. Unify setup with OpenGL driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2369 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-06 19:33:53 +00:00