mutter/tests/interactive
Emmanuele Bassi 7e56a98413 texture: Use a base material for all instances
Creating new materials for every Texture instance results in a lot of
ARBfp programs being generated/compiled. Since most textures will just
be similar we should create a template material for all of them, and
then copy it in every instance. Cogl will try to optimize the generation
of the program and, hopefully, will reuse the same program most of the
time.

With this change, a simple test shows that loading 48 textures will
result in just two programs being compiled - with and without batching
enabled.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2295
2010-09-06 18:09:19 +01:00
..
Makefile.am texture: Use a base material for all instances 2010-09-06 18:09:19 +01:00
test-actor-clone.c
test-actors.c
test-animation.c Use ClickAction in test-animation 2010-05-26 14:18:19 +01:00
test-animator.c
test-behave.c
test-bin-layout.c
test-bind.c
test-binding-pool.c [tests] Fix a segfault in the binding-pool test 2009-06-11 12:36:41 +01:00
test-box-layout.c
test-clip.c
test-clutter-cairo-flowers.c
test-cogl-multitexture.c
test-cogl-offscreen.c
test-cogl-point-sprites.c
test-cogl-primitives.c
test-cogl-shader-arbfp.c
test-cogl-shader-glsl.c tests: Remove use of cogl_program_use 2010-08-12 16:50:46 +01:00
test-cogl-tex-convert.c
test-cogl-tex-foreign.c
test-cogl-tex-getset.c
test-cogl-tex-polygon.c
test-cogl-tex-tile.c
test-cogl-vertex-buffer.c
test-constraints.c
test-depth.c
test-devices.c
test-drag.c
test-easing.c
test-events.c
test-fbo.c
test-flow-layout.c
test-fullscreen.c [stage] Rename fullscreen methods 2009-06-09 14:07:35 +01:00
test-grab.c
test-layout.c
test-main.c
test-model.c
test-multistage.c
test-offscreen.c
test-paint-wrapper.c
test-pixmap.c
test-project.c
test-rotate.c
test-scale.c
test-script.c
test-scrolling.c
test-shader.c
test-stage-read-pixels.c
test-stage-sizing.c
test-state-animator.c
test-state.c
test-table-layout.c
test-text-field.c
test-text.c
test-texture-async.c
test-texture-material.c texture: Use a base material for all instances 2010-09-06 18:09:19 +01:00
test-texture-quality.c
test-textures.c
test-threads.c
test-unproject.c
test-viewport.c
wrapper.sh.in