mutter/tests/interactive
Neil Roberts 54d8aadf1d [cogl] Move the texture filters to be a property of the material layer
The texture filters are now a property of the material layer rather
than the texture object. Whenever a texture is painted with a material
it sets the filters on all of the GL textures in the Cogl texture. The
filter is cached so that it won't be changed unnecessarily.

The automatic mipmap generation has changed so that the mipmaps are
only generated when the texture is painted instead of every time the
data changes. Changing the texture sets a flag to mark that the
mipmaps are dirty. This works better if the FBO extension is available
because we can use glGenerateMipmap. If the extension is not available
it will temporarily enable automatic mipmap generation and reupload
the first pixel of each slice. This requires tracking the data for the
first pixel.

The COGL_TEXTURE_AUTO_MIPMAP flag has been replaced with
COGL_TEXTURE_NO_AUTO_MIPMAP so that it will default to
auto-mipmapping. The mipmap generation is now effectively free if you
are not using a mipmap filter mode so you would only want to disable
it if you had some special reason to generate your own mipmaps.

ClutterTexture no longer has to store its own copy of the filter
mode. Instead it stores it in the material and the property is
directly set and read from that. This fixes problems with the filters
getting out of sync when a cogl handle is set on the texture
directly. It also avoids the mess of having to rerealize the texture
if the filter quality changes to HIGH because Cogl will take of
generating the mipmaps if needed.
2009-06-04 19:03:40 +01:00
..
Makefile.am [tests] Adds an interactive cogl vertex buffer unit test 2009-03-16 16:19:51 +00:00
test-actor-clone.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
test-actors.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
test-animation.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
test-behave.c Clean up of the ClutterColor API 2009-03-10 12:38:02 +00:00
test-binding-pool.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
test-clip.c [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
test-clutter-cairo-flowers.c Uniformly use floats in Actor properties 2009-06-01 14:57:18 +01:00
test-cogl-multitexture.c [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
test-cogl-offscreen.c [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
test-cogl-primitives.c Change cogl_path_rectangle and cogl_path_round_rectangle to take x1,y1,x2,y2 2009-03-13 12:20:26 +00:00
test-cogl-tex-convert.c [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
test-cogl-tex-foreign.c [cogl-handle] Optimize how we define cogl handles 2009-04-02 11:58:43 +01:00
test-cogl-tex-getset.c [cogl] Remove max_waste argument from Texture ctors 2009-05-23 19:35:19 +01:00
test-cogl-tex-polygon.c [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
test-cogl-tex-tile.c [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
test-cogl-vertex-buffer.c [cogl vertex buffers] Give indices a CoglHandle so they are shareable 2009-05-28 13:27:54 +01:00
test-depth.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
test-devices.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-easing.c Uniformly use floats in Actor properties 2009-06-01 14:57:18 +01:00
test-entry.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-events.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-fbo.c Remove CloneTexture from the API 2009-01-27 15:18:45 +00:00
test-fullscreen.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
test-grab.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-layout.c [actor] Use flags to control allocations 2009-06-04 16:30:31 +01:00
test-main.c * tests/interactive/test-main.c (main): Allow more than two 2008-11-10 16:30:42 +00:00
test-model.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-multistage.c Uniformly use floats in Actor properties 2009-06-01 14:57:18 +01:00
test-offscreen.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-paint-wrapper.c Uniformly use floats in Actor properties 2009-06-01 14:57:18 +01:00
test-perspective.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-pixmap.c [tests] Some improvements for test-pixmap 2009-02-11 13:08:17 +00:00
test-project.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
test-random-text.c Update the interactive tests to ClutterText 2008-12-11 13:48:01 +00:00
test-rotate.c Uniformly use floats in Actor properties 2009-06-01 14:57:18 +01:00
test-scale.c [animation] Move the alpha value to floating point 2009-01-20 16:42:49 +00:00
test-score.c Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
test-script.c Remove usage of the grave accent as quotation mark 2009-03-17 14:13:31 +00:00
test-shader.c Uniformly use floats in Actor properties 2009-06-01 14:57:18 +01:00
test-stage-read-pixels.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
test-text-field.c [units] Rework Units into logical distance value 2009-06-04 16:30:31 +01:00
test-text.c [tests] Update the ClutterText interactive test 2009-01-07 15:54:08 +00:00
test-texture-async.c [tests] Remove unused variables 2009-03-16 12:17:03 +00:00
test-texture-quality.c [stage] Coalesce fog and perspective API 2009-03-10 12:38:03 +00:00
test-textures.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-threads.c [alpha] Allow registering alpha functions 2009-01-16 14:37:35 +00:00
test-unproject.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
test-viewport.c [alpha] Allow registering alpha functions 2009-01-16 14:37:35 +00:00
wrapper.sh Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00