mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-22 17:47:20 +03:00
Stub GLES 1.1 backend
This commit is contained in:
parent
f6a5685de8
commit
feefe2e742
28 changed files with 272 additions and 31 deletions
|
|
@ -4,5 +4,7 @@ DEFAULT ARMV6
|
|||
PRJ_MMPFILES
|
||||
gnumakefile Icons_scalable_dc.mk
|
||||
gnumakefile shaders.mk
|
||||
librw.mmp
|
||||
re3.mmp
|
||||
librw_gles2.mmp
|
||||
re3_gles2.mmp
|
||||
librw_gles1.mmp
|
||||
re3_gles1.mmp
|
||||
|
|
|
|||
|
|
@ -1,15 +1,12 @@
|
|||
SYSTEMINCLUDE /epoc32/include
|
||||
SYSTEMINCLUDE /epoc32/include/stdapis/stlportv5
|
||||
SYSTEMINCLUDE /epoc32/include/stdapis
|
||||
SYSTEMINCLUDE /epoc32/include/mw
|
||||
SYSTEMINCLUDE /epoc32/include/platform
|
||||
SYSTEMINCLUDE /epoc32/include/platform/mw
|
||||
SYSTEMINCLUDE /epoc32/include/gles
|
||||
|
||||
USERINCLUDE .
|
||||
|
||||
MACRO LIBRW
|
||||
MACRO RW_GL3
|
||||
MACRO MASTER
|
||||
|
||||
DEBUGGABLE
|
||||
|
|
@ -25,4 +22,12 @@ OPTION_REPLACE ARMCC -O2 -O3
|
|||
ALWAYS_BUILD_AS_ARM
|
||||
#endif
|
||||
|
||||
#ifdef SYMBIAN_3
|
||||
SYSTEMINCLUDE /epoc32/include/stdapis/stlportv5
|
||||
STDCPP
|
||||
MACRO RW_GL3
|
||||
#else
|
||||
SYSTEMINCLUDE /epoc32/include/stdapis/stlport
|
||||
SYSTEMINCLUDE /epoc32/include/stdapis/stlport/stl
|
||||
MACRO RW_GLES1
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
#include "common.mmh"
|
||||
|
||||
TARGET librw.lib
|
||||
TARGETTYPE lib
|
||||
|
||||
|
||||
USERINCLUDE ../vendor/librw
|
||||
USERINCLUDE ../vendor/librw/src
|
||||
|
||||
|
|
@ -15,6 +13,8 @@ SOURCEPATH ../vendor/librw/src
|
|||
SOURCE engine.cpp error.cpp frame.cpp geometry.cpp geoplg.cpp
|
||||
SOURCEPATH ../vendor/librw/src/gl
|
||||
SOURCE gl3.cpp gl3device.cpp gl3immed.cpp gl3matfx.cpp gl3pipe.cpp gl3raster.cpp gl3render.cpp gl3shader.cpp gl3skin.cpp wdgl.cpp
|
||||
SOURCEPATH ../vendor/librw/src/gles1
|
||||
SOURCE rwgles1.cpp
|
||||
SOURCEPATH ../vendor/librw/src
|
||||
SOURCE hanim.cpp image.cpp light.cpp
|
||||
SOURCEPATH ../vendor/librw/src/lodepng
|
||||
4
group/librw_gles1.mmp
Normal file
4
group/librw_gles1.mmp
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#undef SYMBIAN3
|
||||
#define S60V3
|
||||
TARGET librw_gles1.lib
|
||||
#include "librw.mmh"
|
||||
4
group/librw_gles2.mmp
Normal file
4
group/librw_gles2.mmp
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#undef S60V3
|
||||
#define SYMBIAN_3
|
||||
TARGET librw_gles2.lib
|
||||
#include "librw.mmh"
|
||||
|
|
@ -1,16 +1,12 @@
|
|||
#include "common.mmh"
|
||||
|
||||
TARGET re3.exe
|
||||
TARGETTYPE exe
|
||||
UID 0 0xe0d67647
|
||||
|
||||
LIBRARY euser.lib
|
||||
LIBRARY libstdcppv5.lib
|
||||
LIBRARY libc.lib
|
||||
LIBRARY libm.lib
|
||||
LIBRARY libpthread.lib
|
||||
LIBRARY libglesv2.lib
|
||||
LIBRARY libegl.lib
|
||||
LIBRARY apparc.lib
|
||||
LIBRARY cone.lib
|
||||
LIBRARY eikcore.lib
|
||||
|
|
@ -22,8 +18,6 @@ LIBRARY platformver.lib
|
|||
EPOCSTACKSIZE 0x14000
|
||||
EPOCHEAPSIZE 0x80000 0x4000000
|
||||
|
||||
STATICLIBRARY librw.lib
|
||||
|
||||
SYSTEMINCLUDE ../vendor/librw
|
||||
|
||||
SOURCEPATH .
|
||||
7
group/re3_gles1.mmp
Normal file
7
group/re3_gles1.mmp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#undef SYMBIAN_3
|
||||
#define S60V3
|
||||
TARGET re3_gles1.exe
|
||||
LIBRARY libstdcpp.lib
|
||||
LIBRARY libgles_cm.lib
|
||||
STATICLIBRARY librw_gles1.lib
|
||||
#include "re3.mmh"
|
||||
8
group/re3_gles2.mmp
Normal file
8
group/re3_gles2.mmp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#undef S60V3
|
||||
#define SYMBIAN_3
|
||||
TARGET re3_gles2.exe
|
||||
LIBRARY libstdcppv5.lib
|
||||
LIBRARY libglesv2.lib
|
||||
LIBRARY libegl.lib
|
||||
STATICLIBRARY librw_gles2.lib
|
||||
#include "re3.mmh"
|
||||
|
|
@ -5,7 +5,8 @@ do_nothing :
|
|||
|
||||
MAKMAKE: do_nothing
|
||||
|
||||
BLD: do_nothing
|
||||
BLD:
|
||||
$(MAKE) -C ../vendor/librw/src/gl/shaders/ -f Makefile all
|
||||
|
||||
CLEAN:
|
||||
rm ../vendor/librw/src/gl/shaders/*.inc
|
||||
|
|
@ -14,8 +15,7 @@ LIB: do_nothing
|
|||
|
||||
CLEANLIB: do_nothing
|
||||
|
||||
RESOURCE:
|
||||
$(MAKE) -C ../vendor/librw/src/gl/shaders/ -f Makefile all
|
||||
RESOURCE: do_nothing
|
||||
|
||||
FREEZE: do_nothing
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue