Damien Lespiau
8ee099d204
cogl-material: Use fragment programs instead of texture env combiners
...
THIS IS A WORK IN PROGRESS
Mesa is building a big shader when using ARB_texture_env_combine. The
idea is to bypass that computation, do it ourselves and cache the
compiled program in a CoglMaterial.
For now that feature can be enabled by setting the COGL_PIPELINE
environment variable to "arbfp". COGL_SHOW_FP_SOURCE can be set to a non
empty string to dump the fragment program source too.
TODO:
* fog (really easy, using OPTION)
* support tex env combiner operands, DOT3, ADD_SIGNED, INTERPOLATE
combine modes (need refactoring the generation of temporary
variables) (not too hard)
* alpha testing for GLES 2.0?
2010-06-09 15:19:30 +01:00
..
2010-06-09 15:19:30 +01:00
2010-05-19 15:28:04 +01:00
2010-03-01 12:56:10 +00:00
2010-04-13 17:26:03 +01:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-04-21 10:56:21 +01:00
2010-03-01 12:56:10 +00:00
2010-06-01 12:20:59 +01:00
2010-06-01 12:20:59 +01:00
2010-06-01 12:20:59 +01:00
2010-05-24 16:10:56 +01:00
2010-05-24 16:10:56 +01:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-05-28 18:42:33 +01:00
2010-06-01 12:08:18 +01:00
2010-05-28 18:42:33 +01:00
2010-06-01 12:20:59 +01:00
2010-06-01 12:20:59 +01:00
2010-06-04 14:44:15 +01:00
2010-04-15 14:51:01 +01:00
2010-04-06 09:26:05 +01:00
2010-03-01 12:56:10 +00:00
2010-06-09 15:19:30 +01:00
2010-06-09 15:19:30 +01:00
2010-03-02 16:15:39 +00:00
2010-05-04 17:01:14 +01:00
2010-03-01 12:56:10 +00:00
2009-10-16 18:58:50 +01:00
2009-10-16 18:58:50 +01:00
2010-03-01 12:56:10 +00:00
2010-06-09 15:19:30 +01:00
2010-03-01 12:56:10 +00:00
2010-06-01 12:08:18 +01:00
2010-05-05 12:25:16 +01:00
2010-05-21 14:38:37 +01:00
2010-06-04 14:44:15 +01:00
2010-06-09 15:19:30 +01:00
2010-04-12 15:44:23 +01:00
2010-06-01 12:08:18 +01:00
2010-06-09 15:19:30 +01:00
2010-06-09 15:19:30 +01:00
2010-04-12 15:44:23 +01:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-04-12 15:38:58 +01:00
2010-06-04 14:44:15 +01:00
2010-06-04 14:44:15 +01:00
2010-06-04 14:44:15 +01:00
2010-03-01 12:56:10 +00:00
2010-06-01 12:20:58 +01:00
2010-06-04 14:44:15 +01:00
2010-06-04 14:44:15 +01:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-05-24 16:10:57 +01:00
2010-03-25 09:33:26 +00:00
2010-01-08 20:19:50 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-04-12 15:44:23 +01:00
2010-04-12 15:44:23 +01:00
2010-04-12 15:44:23 +01:00
2010-06-01 12:08:18 +01:00
2010-05-28 18:13:53 +01:00
2010-03-01 12:56:10 +00:00
2010-04-12 15:44:23 +01:00
2010-04-29 13:15:35 +01:00
2010-03-01 12:56:10 +00:00
2010-06-07 14:32:32 +01:00
2010-06-04 14:44:15 +01:00
2010-03-01 12:56:10 +00:00
2010-05-20 17:18:24 +01:00
2010-05-20 17:18:24 +01:00
2010-03-01 12:56:10 +00:00
2010-06-01 12:08:18 +01:00
2010-03-01 12:56:10 +00:00
2010-06-09 15:19:30 +01:00
2010-06-04 14:44:15 +01:00
2009-10-16 18:58:50 +01:00
2010-06-04 17:43:57 +01:00
2010-03-03 17:02:51 +00:00