Is BURNINGVIDEO bigendian aware?
Posted: Sun Jan 21, 2018 10:00 am
Hi all,
Just trying to port IrrLicht 1.8.4 to some obscure ppc-platform which have posix kind support, with using of SDL manager, and while Software Renderer works fine,i can't make to work BURNINGVIDEO renderer. I build it as default with BURNINGVIDEO_RENDERER_BEAUTIFUL , and that what i have for examples 03 and 04:


I.e. everything kind of works, just colors borks.
I tried also build with BURNINGVIDEO_RENDERER_FAST and BURNINGVIDEO_RENDERER_ULTRA_FAST , in both cases compilation fails. I.e. if i do:
#undef BURNINGVIDEO_RENDERER_BEAUTIFUL
#undef BURNINGVIDEO_RENDERER_ULTRA_FAST
#define BURNINGVIDEO_RENDERER_FAST
Then:
If i do:
#undef BURNINGVIDEO_RENDERER_BEAUTIFUL
#undef BURNINGVIDEO_RENDERER_FAST
#define BURNINGVIDEO_RENDERER_ULTRA_FAST
Then, before the same kind of errors arise (i.e. those from CRTRtexture,etc), i also have at first error about:
I tried also OGLES2 branch from SVN (in hope there can be fixes since 1.8.4 release), but that give me the same results.
Just trying to port IrrLicht 1.8.4 to some obscure ppc-platform which have posix kind support, with using of SDL manager, and while Software Renderer works fine,i can't make to work BURNINGVIDEO renderer. I build it as default with BURNINGVIDEO_RENDERER_BEAUTIFUL , and that what i have for examples 03 and 04:


I.e. everything kind of works, just colors borks.
I tried also build with BURNINGVIDEO_RENDERER_FAST and BURNINGVIDEO_RENDERER_ULTRA_FAST , in both cases compilation fails. I.e. if i do:
#undef BURNINGVIDEO_RENDERER_BEAUTIFUL
#undef BURNINGVIDEO_RENDERER_ULTRA_FAST
#define BURNINGVIDEO_RENDERER_FAST
Then:
Code: Select all
CTRTextureBlend.cpp:341: error: no matching function for call to 'getSample_texture(irr::tFixPoint&, irr::tFixPoint&, irr::tFixPoint&, irr::tFixPoint&, irr::sInIternalTexture*, irr::tFixPoint, irr::tFixPoint)'
SoftwareDriver2_helper.h:808: note: candidates are: void irr::getSample_texture(irr::tFixPoint&, irr::tFixPoint&, irr::tFixPoint&, const irr::sInternalTexture*, irr::tFixPointu, irr::tFixPointu)
#undef BURNINGVIDEO_RENDERER_BEAUTIFUL
#undef BURNINGVIDEO_RENDERER_FAST
#define BURNINGVIDEO_RENDERER_ULTRA_FAST
Then, before the same kind of errors arise (i.e. those from CRTRtexture,etc), i also have at first error about:
Code: Select all
CTRNormalMap.cpp: In member function 'void irr::video::CTRNormalMap::scanline_bilinear()':
CTRNormalMap.cpp:288: error: 'inversew' was not declared in this scope<builtin>: recipe for target 'CTRNormalMap.o' failed
make: *** [CTRNormalMap.o] Error 1