EGL + GLES1 on win32

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
feelthat
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

EGL + GLES1 on win32

Post by feelthat »

use OGLES1 on win32

code download
http://www.mediafire.com/download/s1aec ... rr_egl.zip

and mark those line

/*#ifndef GL_BGRA
// whoa, pretty badly implemented extension...
if (Driver->FeatureAvailable[COGLES1ExtensionHandler::IRR_IMG_texture_format_BGRA8888] ||
Driver->FeatureAvailable[COGLES1ExtensionHandler::IRR_EXT_texture_format_BGRA8888] ||
Driver->FeatureAvailable[COGLES1ExtensionHandler::IRR_APPLE_texture_format_BGRA8888])
GL_BGRA = 0x80E1;
else
GL_BGRA = GL_RGBA;
#endif*/


Demo
https://plus.google.com/photos/10618554 ... 8774360364


https://plus.google.com/photos/10618554 ... 8774360364
Last edited by feelthat on Sat Feb 21, 2015 1:00 pm, edited 2 times in total.
feelthat
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: EGL + GLES1 on win32

Post by feelthat »

the libGLESv2.lib can not simulator glLinkProgram(Program);

so GLES 2.0 can not do well~
feelthat
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: EGL + GLES1 on win32

Post by feelthat »

good version for glesv2 on win32

https://github.com/adobe/angle
feelthat
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: EGL + GLES2 on win32

Post by feelthat »

done use https://github.com/adobe/angle lib

EGL + libGLESv2
rember you need

1.
remove link opengl32.lib, libgles_cm.lib
because opengl32 function will override libGLESv2

2.
mark this line
//#define _IRR_COMPILE_WITH_OGLES1_

demo:
https://plus.google.com/photos/10618554 ... 8774360364




feelthat wrote:good version for glesv2 on win32

https://github.com/adobe/angle
feelthat
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: EGL + GLES2 on win32

Post by feelthat »

EGL GLES1 win32 source
http://sourceforge.net/projects/ogl-es/files/ogl-es/
svn://svn.code.sf.net/p/ogl-es/code/trunk


powerVR EGL GLES1 GLES2
https://github.com/powervr-graphics/Nat ... x86_32/Lib
feelthat
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: EGL + GLES1, GLES2 on win32

Post by feelthat »

EGL + GLES1, GLES2 on win32 Done!!!

Rember GLES1 has it libEGL and GLES2 has it libEGL too
when you switch GLES2 please go to [dependency] copy dll again~~

and //#define _IRR_COMPILE_WITH_OGLES1_ #define _IRR_COMPILE_WITH_OGLES2_
one of them enable only~~~


Here is Full source~~~

http://www.mediafire.com/download/tw267 ... ogles2.zip


ref: https://code.google.com/p/iphoneengine/source/checkout
feelthat wrote:EGL GLES1 win32 source
http://sourceforge.net/projects/ogl-es/files/ogl-es/
svn://svn.code.sf.net/p/ogl-es/code/trunk


powerVR EGL GLES1 GLES2
https://github.com/powervr-graphics/Nat ... x86_32/Lib
Last edited by feelthat on Sun Feb 22, 2015 4:58 am, edited 1 time in total.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: EGL + GLES1 on win32

Post by CuteAlien »

Thanks, I've never tried that on Windows, but use it on Linux all the time. It makes developing mobile phone applications a lot faster if you can test and debug the stuff on PC.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
feelthat
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: EGL + GLES2 on win32

Post by feelthat »

GLES2 last version on win32

2012/10/17
SHA-1: 918c468416a2b4aefd61d152ca5c37a707bbc422

https://github.com/google/angle


new bin of GLES1 GLES2 for irrlicht win32
http://www.mediafire.com/download/7yo2z ... ndency.zip

demo GLES2 win32
https://plus.google.com/photos/10618554 ... 8774360364
feelthat wrote:EGL GLES1 win32 source
http://sourceforge.net/projects/ogl-es/files/ogl-es/
svn://svn.code.sf.net/p/ogl-es/code/trunk


powerVR EGL GLES1 GLES2
https://github.com/powervr-graphics/Nat ... x86_32/Lib
Last edited by feelthat on Sun Feb 22, 2015 5:17 am, edited 2 times in total.
feelthat
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: EGL + GLES1 on win32

Post by feelthat »

Welcome, prepare add cocos2d GUI now~


OpenGL ES source code
ftp://ftp.freedesktop.org/pub/mesa/

windows build tools
ftp://ftp.freedesktop.org/pub/mesa/windows-utils/

mesa opengl es1 cygwin build
http://sourceforge.net/p/cygwin-ports/m ... sa.cygport

CuteAlien wrote:Thanks, I've never tried that on Windows, but use it on Linux all the time. It makes developing mobile phone applications a lot faster if you can test and debug the stuff on PC.
feelthat
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

VicentGLES1 + AngleGLES2 win32 source

Post by feelthat »

mesa opengl es1 cygwin is too big~~~

here make the source build on win32, enjoy it~

libgles_cm.dll libglesv2.dll

http://www.mediafire.com/download/tbb82 ... s_proj.zip

gles_cm can show you openGL es basic c++ source from matrix transform, image data paste to memory, use windows gdi function~


gles_cm demo
https://plus.google.com/photos/10618554 ... 8774360364
feelthat
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: EGL + GLES1 on win32

Post by feelthat »

here is latest opengles version
http://sourceforge.net/p/ogl-es/code/HEAD/tree/

if you are interesting in ogles1_cm change new code in VincentGLES1 project
feelthat
Posts: 194
Joined: Sat Feb 02, 2013 5:27 am

Re: EGL + GLES1 on win32

Post by feelthat »

PowerVR GLES1.1 emulator libgles_cm newest~ ver
https://github.com/powervr-graphics/Nat ... 3.4/Builds
Post Reply