mutter/cogl
Neil Roberts a50907848f Validate that the GL version is >= 1.2
There is a new internal Cogl function called _cogl_check_driver_valid
which looks at the value of the GL_VERSION string to determine whether
the driver is supported. Clutter now calls this after the stage is
realized. If it fails then the stage is marked as unrealized and a
warning is shown.

_cogl_features_init now also checks the version number before getting
the function pointers for glBlendFuncSeparate and
glBlendEquationSeparate. It is not safe to just check for the presence
of the functions because some drivers may define the function without
fully implementing the spec.

The GLES version of _cogl_check_driver_valid just always returns TRUE
because there are no version requirements yet.

Eventually the function could also check for mandatory extensions if
there were any.

http://bugzilla.openedhand.com/show_bug.cgi?id=1875
2009-11-13 15:55:48 +00:00
..
driver Validate that the GL version is >= 1.2 2009-11-13 15:55:48 +00:00
winsys build: Make COGL pass distcheck 2009-10-23 13:38:40 +01:00
cogl-bitmap-fallback.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-bitmap-pixbuf.c osx: CGBitmapContextCreate can't make 24bpp, alphaless offscreen pixmaps 2009-11-06 14:10:41 +00:00
cogl-bitmap-private.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-bitmap.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-bitmap.h cogl: Declare cogl_is_bitmap() 2009-11-11 10:32:39 +00:00
cogl-blend-string.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-blend-string.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-clip-stack.c [cogl-primitives] Don't clear the whole stencil buffer 2009-11-13 10:51:47 +00:00
cogl-clip-stack.h [draw-buffers] First pass at overhauling Cogl's framebuffer management 2009-11-03 17:23:03 +00:00
cogl-color.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-color.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-context.c [cogl] Use clockwise face winding for offscreen buffers with culling enabled 2009-11-04 03:34:03 +00:00
cogl-context.h [matrix] Adds cogl_matrix_get_inverse API 2009-11-04 03:34:05 +00:00
cogl-debug.c [debug] Adds a COGL_DEBUG=force-scanline-paths 2009-11-05 21:10:16 +00:00
cogl-debug.h [debug] Adds a COGL_DEBUG=force-scanline-paths 2009-11-05 21:10:16 +00:00
cogl-deprecated.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-draw-buffer-private.h [draw-buffer] Adds cogl_draw_buffer_get_{width,height} API 2009-11-04 03:23:20 +00:00
cogl-draw-buffer.c [cogl-draw-buffer] fix Cogl -> GL viewport coord conversion 2009-11-04 03:34:05 +00:00
cogl-enum-types.c.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-enum-types.h.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-fixed.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-fixed.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-handle.h [cogl-texture] Split CoglTexture into an abstract class + CoglTexture2dSliced 2009-10-16 18:58:51 +01:00
cogl-internal.h Remove _cogl_flush_matrix_stacks from cogl-internal.h 2009-11-12 17:01:44 +00:00
cogl-journal-private.h [cogl-primitives] Split the journal out from cogl-primitives.c 2009-10-16 18:58:52 +01:00
cogl-journal.c [cogl] Use clockwise face winding for offscreen buffers with culling enabled 2009-11-04 03:34:03 +00:00
cogl-material-private.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-material.c [cogl] Removes the cogl-current-matrix abstraction 2009-10-20 12:32:50 +01:00
cogl-material.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-matrix-mesa.c [cogl-matrix] Import Mesa's matrix manipulation code 2009-11-04 03:34:04 +00:00
cogl-matrix-mesa.h [cogl-matrix] Import Mesa's matrix manipulation code 2009-11-04 03:34:04 +00:00
cogl-matrix-private.h [debug] Adds a COGL_DEBUG=matrices debug option 2009-11-04 03:34:04 +00:00
cogl-matrix-stack.c [matrix] Adds cogl_matrix_get_inverse API 2009-11-04 03:34:05 +00:00
cogl-matrix-stack.h [matrix] Adds cogl_matrix_get_inverse API 2009-11-04 03:34:05 +00:00
cogl-matrix.c [matrix] Adds cogl_matrix_get_inverse API 2009-11-04 03:34:05 +00:00
cogl-matrix.h [matrix] Adds cogl_matrix_get_inverse API 2009-11-04 03:34:05 +00:00
cogl-offscreen.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-path.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-primitives.c [cogl-primitives] Don't clear the whole stencil buffer 2009-11-13 10:51:47 +00:00
cogl-primitives.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-shader.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-spans.c [cogl-spans] split out cogl-spans code from cogl-texture-2d-sliced 2009-10-16 18:58:52 +01:00
cogl-spans.h [cogl-spans] split out cogl-spans code from cogl-texture-2d-sliced 2009-10-16 18:58:52 +01:00
cogl-texture-2d-sliced-private.h [cogl-spans] split out cogl-spans code from cogl-texture-2d-sliced 2009-10-16 18:58:52 +01:00
cogl-texture-2d-sliced.c [cogl-texture-2d-sliced] allow COGL_FORMAT_ANY with _new_with_size() 2009-11-04 03:34:07 +00:00
cogl-texture-driver.h [cogl-texture] Split CoglTexture into an abstract class + CoglTexture2dSliced 2009-10-16 18:58:51 +01:00
cogl-texture-private.h [cogl-primitives] Split the journal out from cogl-primitives.c 2009-10-16 18:58:52 +01:00
cogl-texture.c [draw-buffers] First pass at overhauling Cogl's framebuffer management 2009-11-03 17:23:03 +00:00
cogl-texture.h [docs] switch gl_handle+gl_target docs for cogl_texture_new_from_foreign 2009-10-16 18:58:51 +01:00
cogl-types.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-util.c [cogl] Removes the cogl-current-matrix abstraction 2009-10-20 12:32:50 +01:00
cogl-util.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-vertex-buffer-private.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-vertex-buffer.c [cogl] Use clockwise face winding for offscreen buffers with culling enabled 2009-11-04 03:34:03 +00:00
cogl-vertex-buffer.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl.c Validate that the GL version is >= 1.2 2009-11-13 15:55:48 +00:00
cogl.h.in Validate that the GL version is >= 1.2 2009-11-13 15:55:48 +00:00
cogl.pc.in Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
Makefile.am [cogl-matrix] Import Mesa's matrix manipulation code 2009-11-04 03:34:04 +00:00
stb_image.c Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00