http://talk.maemo.org/showthread.php?t=87896&highlight=developer.nokia.com

jmagic 41b1c2623a cleanup 13 years ago
graphics 29ae41fdf5 changed the test program. Added the origin to GLES11 14 years ago
src_general 5ef778c26c Fixed manualtransform of OVGBatch 14 years ago
src_gles11spritebatch 0240960d2c fixed gl1.1 scale 14 years ago
src_gles11spritebatchtest 2f7da1cb7f added licence and readme 14 years ago
src_gles2spritebatch eaa5a4fd51 replaced qt dependent qdebug with LOG macro 14 years ago
src_gles2spritebatchtest c702eb0ea2 added mipmap generation 14 years ago
src_openvgspritebatch dc8dd6cb4f added option for OpenVG 1.1 color transform. about 10% faster on E7, but 10% slower on Nokia 500 compared to multiply by solid color paint. 14 years ago
src_openvgspritebatchtest 5ef778c26c Fixed manualtransform of OVGBatch 14 years ago
src_qpainterspritebatch 41b1c2623a cleanup 13 years ago
src_qpainterspritebatchtest 98df3fdada proto implementation for QPainter spritebatch 14 years ago
src_qtopenglspritebatch f7ccb189e2 fixed illegal casting 13 years ago
src_qtopenglspritebatchtest cb753abaa8 Initial version of the QtOpenGL - implementation. 14 years ago
SpriteBatchTester.cpp 29ae41fdf5 changed the test program. Added the origin to GLES11 14 years ago
SpriteBatchTester.h 489bc541c0 weekend 14 years ago
gles11_spritebatchtest.pro 28ab5afaed GLES2 shader division to "nonwhite" and "allwhite" ... QtOpenGL based GLSL implementation (qtopenglspritebatch) to follow. NOTE, TESTING REQUIRED 14 years ago
gles11spritebatchtest.sis 04b89b62fd 14 years ago
gles2_spritebatchtest.pro e6b2c66137 v2 - 14 years ago
gles2spritebatchtest.sis 04b89b62fd 14 years ago
licence.txt 2f7da1cb7f added licence and readme 14 years ago
qpainterspritebatchtest.pro 98df3fdada proto implementation for QPainter spritebatch 14 years ago
qtopengl_spritebatchtest.pro 8b68a72852 added includepath . 14 years ago
readme.txt e6ad9fb781 updated with qtopengl 14 years ago
resources.qrc 13d6bf4933 reorder 14 years ago
spritebatch.pri fa0655945d libGLES_CM library was replaced by libGLESv1_CM library in Qt 4.7.4 14 years ago
vg_spritebatchtest.pro ec65231473 v3 14 years ago
vgspritebatchtest.sis 5ef778c26c Fixed manualtransform of OVGBatch 14 years ago

readme.txt



SpriteBatch
--------------------------------------------------------------------------------

Nokia Developer 2011


Introduction
--------------------------------------------------------------------------------
"SpriteBatch" kind of an interface for rendering Sprite-kind-of object's
easily and effectively with the selected rendering backend.
SpriteBatch implementations for OpenGL ES 1.1, OpenGL ES 2.0 and
OpenVG. Project contains SpriteBatch interface, Rendering backend-
specific code, and Qt specific test-projects for easy deployment.

The actual implementations can be ran on any device supporting
the according backend (GLES11, GLES2 and OpenVG)

The recommended implementation is QtOpenGL; it integrates nicely with
Qt SDK and is supported on both desktop and mobile platforms.


Compatibility
--------------------------------------------------------------------------------
- OpenGL ES 1.1 has been tested on Symbian^3 Qt 4.7.3, Harmattan,
and Windows Desktop with PowerVR GLES11 emulation.

- OpenGL ES 2.0 has been tested on Symbian^3 Qt 4.7.3, Harmattan,
and Windows Desktop with PowerVR GLES2 emulation

- QtOpenGL, OpenVG and QPainter have been tested on Symbian^3 Qt 4.7.3.



Required software
--------------------------------------------------------------------------------
QtSDK

Building
--------------------------------------------------------------------------------
Open the .PRO file to the QtCreator, select your target and build.
NOTE: For desktop build, you must provide an OpenGL/OpenVG
libraries for the project.

Directories
--------------------------------------------------------------------------------
This example is structured as follows

graphics
Just a single image which is packaged in each of the test projects

src_general
Platform independent SpriteBatch interface (single class: h/cpp)

src_gles2spritebatch
OpenGL ES 2.0 implementation of the interface.

src_gles2spritebatchtest
OpenGL ES 2.0 specific Qt project for testing the implementation.

src_gles11spritebatch
OpenGL ES 1.1 implementation of the interface.

src_gles11spritebatchtest
OpenGL ES 1.1 specific Qt project for testing the implementation.

src_openvgspritebatch
OpenVG 1.0/1.1 implementation of the interface.

src_openvgspritebatchtest
OpenVG 1.0/1.1 specific Qt project for testing the implementation.

src_qpainterspritebatch
QPaiinter implementation. QPainter is available on all Qt platforms, but
it does not support color tinting in the API and it is slower than specific
implementations.

src_qpainterspritebatchtest
QPainter specific Qt project for testing the implementation.

src_qtopenglspritebatch
QtOpenGL implementation.

src_qtopenglspritebatchtest
QtOpenGL specific Qt project for testing the implementation.