Neil Roberts
d8df30cb9c
cogl-pipeline-opengl: Don't use number of tex units on fixed-function
...
The CoglPipeline code uses a combination of GL_MAX_TEXTURE_COORDS,
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS and GL_MAX_TEXTURE_UNITS to
determine the maximum number of layers to allow in a pipeline. However
on fixed function hardware that doesn't advertise either GLSL or ARBfp
it was still using the first two enums which will probably just return
0 and set a GLerror. This meant that we effectively didn't support
using any layers on purely fixed function hardware. This patch changes
it to only use those two enums if the appropriate extensions are
advertised and to always use GL_MAX_TEXTURE_UNITS except on GLES2
where there is no fixed function.
https://bugzilla.gnome.org/show_bug.cgi?id=650966
2011-05-27 11:59:17 +01:00
..
2011-05-16 18:36:44 +01:00
2011-05-25 16:47:38 +01:00
2011-04-11 15:28:53 +01:00
2011-03-10 13:05:43 +00:00
2011-05-16 14:32:37 +01:00
2010-11-11 13:17:26 +00:00
2011-05-06 12:12:08 +01:00
2011-05-05 17:32:28 +01:00
2011-05-05 17:32:28 +01:00
2011-04-11 15:18:12 +01:00
2011-03-14 18:18:15 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:32:37 +01:00
2011-05-16 14:32:37 +01:00
2011-05-16 14:32:37 +01:00
2011-02-15 12:40:11 +00:00
2011-05-05 17:32:29 +01:00
2011-01-10 16:54:58 +00:00
2010-12-22 09:52:35 +00:00
2010-12-13 17:28:29 +00:00
2011-04-20 18:20:10 +01:00
2011-04-11 15:18:12 +01:00
2011-04-11 15:18:12 +01:00
2011-02-15 12:10:54 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2010-12-22 09:52:35 +00:00
2011-04-11 17:54:36 +01:00
2011-01-21 16:18:10 +00:00
2011-03-10 13:05:43 +00:00
2011-04-11 15:28:53 +01:00
2011-03-10 13:05:43 +00:00
2011-05-10 17:15:22 +01:00
2011-04-11 17:54:36 +01:00
2010-12-07 16:00:32 +00:00
2011-05-05 17:32:28 +01:00
2011-05-10 17:15:22 +01:00
2011-05-17 15:24:55 +01:00
2011-05-05 17:32:31 +01:00
2011-05-05 17:32:31 +01:00
2011-05-05 17:32:31 +01:00
2011-05-17 15:24:54 +01:00
2011-05-16 18:45:51 +01:00
2011-05-16 18:36:44 +01:00
2011-05-16 18:36:44 +01:00
2011-04-11 17:54:36 +01:00
2011-05-05 14:46:02 +01:00
2011-04-11 17:54:36 +01:00
2011-05-05 14:46:02 +01:00
2011-05-05 14:46:02 +01:00
2011-05-16 14:12:42 +01:00
2011-05-16 14:12:49 +01:00
2011-04-11 17:54:36 +01:00
2011-04-11 17:54:36 +01:00
2010-11-25 18:18:51 +00:00
2011-04-20 18:20:10 +01:00
2011-05-10 17:58:41 +01:00
2011-05-25 16:49:09 +01:00
2011-05-11 16:46:52 +01:00
2010-12-07 12:16:50 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-04-11 17:54:36 +01:00
2011-04-11 17:54:36 +01:00
2011-05-16 14:32:37 +01:00
2011-05-16 18:36:44 +01:00
2011-05-16 18:36:44 +01:00
2011-05-16 14:11:47 +01:00
2011-05-16 14:11:47 +01:00
2011-01-24 15:45:45 +00:00
2011-04-11 15:28:53 +01:00
2010-12-13 17:29:13 +00:00
2011-05-16 14:11:47 +01:00
2011-05-16 14:12:49 +01:00
2011-01-21 16:18:10 +00:00
2011-01-21 16:18:10 +00:00
2010-12-22 09:52:35 +00:00
2011-04-11 17:54:35 +01:00
2011-04-11 17:54:35 +01:00
2011-04-11 17:54:35 +01:00
2011-05-16 13:28:17 +01:00
2011-05-16 14:31:31 +01:00
2011-04-11 15:18:12 +01:00
2010-12-22 09:52:35 +00:00
2010-12-13 17:22:57 +00:00
2011-05-11 13:50:32 +01:00
2010-12-13 17:22:57 +00:00
2011-04-11 15:18:12 +01:00
2010-12-13 17:22:57 +00:00
2011-04-11 15:18:12 +01:00
2010-12-13 17:22:57 +00:00
2011-05-27 11:59:17 +01:00
2011-05-16 18:36:44 +01:00
2011-01-21 16:24:14 +00:00
2011-04-11 15:18:12 +01:00
2010-12-13 17:22:57 +00:00
2011-04-11 15:18:12 +01:00
2010-12-13 17:28:28 +00:00
2011-04-11 15:18:12 +01:00
2011-05-18 11:50:56 +01:00
2011-05-16 18:36:44 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-03-07 13:26:19 +00:00
2011-03-07 13:26:19 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 18:34:22 +01:00
2011-05-16 14:32:37 +01:00
2010-11-04 18:10:08 +00:00
2011-05-16 14:32:37 +01:00
2011-04-11 17:54:36 +01:00
2011-01-24 15:45:45 +00:00
2010-12-13 17:22:57 +00:00
2011-04-11 15:18:12 +01:00
2011-05-16 14:11:47 +01:00
2011-05-16 14:12:42 +01:00
2011-05-16 17:08:30 +01:00
2011-05-17 15:24:54 +01:00
2011-04-11 17:54:36 +01:00
2011-05-10 16:36:40 +01:00
2011-04-11 17:54:36 +01:00
2011-04-20 18:17:06 +01:00
2011-04-20 18:17:06 +01:00
2011-05-10 17:58:41 +01:00
2011-05-11 16:46:52 +01:00
2011-03-08 13:21:24 +00:00
2010-12-03 15:27:17 +00:00
2011-04-11 15:18:12 +01:00
2011-04-11 15:18:12 +01:00
2011-05-05 14:46:02 +01:00
2011-05-05 14:46:02 +01:00
2011-05-05 14:46:02 +01:00
2011-02-15 12:10:54 +00:00
2010-11-03 18:09:23 +00:00
2011-04-11 15:18:12 +01:00
2011-04-11 15:28:53 +01:00
2010-11-03 18:09:23 +00:00
2011-04-11 15:18:12 +01:00
2011-01-21 16:18:10 +00:00
2010-11-03 18:09:23 +00:00
2011-04-11 15:18:12 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:12:49 +01:00
2011-04-11 17:54:36 +01:00
2011-01-10 16:55:00 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:32:37 +01:00
2011-02-09 19:12:12 +00:00
2011-04-20 18:17:06 +01:00
2011-04-20 18:17:06 +01:00
2011-04-20 18:17:06 +01:00
2011-05-05 14:46:02 +01:00
2011-05-16 18:36:44 +01:00
2011-04-11 17:54:36 +01:00
2011-05-24 23:08:59 +01:00