ecere/gfx/JPEG, OpenGL: Tweaks for demo demoTweaks
authorJerome St-Louis <jerome@ecere.com>
Tue, 4 Jun 2013 14:16:42 +0000 (10:16 -0400)
committerJerome St-Louis <jerome@ecere.com>
Tue, 4 Jun 2013 14:16:42 +0000 (10:16 -0400)
commit2b96034a3319af5afeb41a3c3dcbafc7a13a89c6
treee87cddeea559e96aa97e205c2fed4a84123037e1
parentcb31e1ad7d435d1fb437e3e7e780c462cae978f8
ecere/gfx/JPEG, OpenGL: Tweaks for demo
- Tweak to skip reallocation while loading JPEG
- Tweaks to StretchDI to use textures rather than glDrawPixels, and display rotated & flipped
  (Texture is reused and leaked on exit, code to compare previous and new size to use glTexSubImage, did not work well on large display with ATI W600)
ecere/src/gfx/bitmaps/JPEGFormat.ec
ecere/src/gfx/drivers/OpenGLDisplayDriver.ec