mutter/cogl
Robert Bragg cc4aa97579 Handle all formats in _cogl_texture_driver_pixel_format_to_gl
The _cogl_texture_driver_pixel_format_to_gl functions for OpenGL and
OpenGLES convert CoglPixelFormats into corresponding gl enums that can
be used to upload texture data. Previously we were only handling a few
specific formats but this patch updates the functions to handle all the
formats we know about. The functions now also switch() on the format so
that we will get build time warnings if we forget to handle new formats
in these functions.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2012-02-20 23:12:45 +00:00
..
driver Handle all formats in _cogl_texture_driver_pixel_format_to_gl 2012-02-20 23:12:45 +00:00
gl-prototypes
tesselator
winsys Improve pixel format detection for fallback OpenGL rendering 2012-02-20 23:12:45 +00:00
cogl1-context.h Move all types/prototypes from cogl.h -> cogl[1]-context.h 2012-02-20 23:12:44 +00:00
cogl2-clip-state.c
cogl2-clip-state.h
cogl2-experimental.h 2.0: Add cogl2-experimental.h + don't pollute .pc CFLAGS 2011-09-09 15:06:31 +01:00
cogl2-path.c
cogl2-path.h
cogl-1.0.pc.in
cogl-2.0-experimental.pc.in
cogl-atlas-texture-private.h
cogl-atlas-texture.c
cogl-atlas.c
cogl-atlas.h
cogl-attribute-buffer-private.h
cogl-attribute-buffer.c
cogl-attribute-buffer.h
cogl-attribute-private.h
cogl-attribute.c
cogl-attribute.h
cogl-bitmap-fallback.c
cogl-bitmap-pixbuf.c
cogl-bitmap-private.h
cogl-bitmap.c
cogl-bitmap.h
cogl-bitmask.c
cogl-bitmask.h
cogl-blend-string.c
cogl-blend-string.h
cogl-blit.c
cogl-blit.h
cogl-boxed-value.c
cogl-boxed-value.h
cogl-buffer-private.h
cogl-buffer.c
cogl-buffer.h
cogl-clip-stack.c
cogl-clip-stack.h
cogl-clip-state-private.h
cogl-clip-state.c
cogl-clip-state.h
cogl-clutter-xlib.h
cogl-clutter.c
cogl-clutter.h
cogl-color-private.h
cogl-color.c
cogl-color.h
cogl-config-private.h
cogl-config.c
cogl-context-private.h
cogl-context.c
cogl-context.h
cogl-debug-options.h
cogl-debug.c
cogl-debug.h
cogl-defines.h.in
cogl-defines.h.win32
cogl-defines.h.win32_SDL
cogl-deprecated.h
cogl-depth-state-private.h
cogl-depth-state.c
cogl-depth-state.h
cogl-display-private.h
cogl-display.c
cogl-display.h
cogl-enum-types.c.in
cogl-enum-types.h.in
cogl-euler.c Move all types/prototypes from cogl.h -> cogl[1]-context.h 2012-02-20 23:12:44 +00:00
cogl-euler.h
cogl-feature-private.c
cogl-feature-private.h
cogl-fixed.c
cogl-fixed.h
cogl-flags.h
cogl-framebuffer-private.h
cogl-framebuffer.c
cogl-framebuffer.h
cogl-glib-source.c
cogl-glib-source.h
cogl-glx-display-private.h
cogl-glx-renderer-private.h
cogl-gtype-private.h
cogl-handle.h
cogl-index-buffer-private.h
cogl-index-buffer.c
cogl-index-buffer.h
cogl-indices-private.h
cogl-indices.c
cogl-indices.h
cogl-internal.h
cogl-journal-private.h
cogl-journal.c
cogl-kms-renderer.h
cogl-material-compat.c
cogl-material-compat.h
cogl-matrix-private.h
cogl-matrix-stack.c
cogl-matrix-stack.h
cogl-matrix.c
cogl-matrix.h
cogl-meta-texture.c
cogl-meta-texture.h
cogl-node-private.h
cogl-node.c
cogl-object-private.h
cogl-object.c
cogl-object.h
cogl-offscreen.h
cogl-onscreen-private.h Fix build on OSX 2012-02-15 14:57:59 +00:00
cogl-onscreen-template-private.h
cogl-onscreen-template.c
cogl-onscreen-template.h
cogl-onscreen.c
cogl-onscreen.h
cogl-pango.h
cogl-path-private.h
cogl-path.c
cogl-path.h
cogl-pipeline-cache.c
cogl-pipeline-cache.h
cogl-pipeline-debug.c
cogl-pipeline-fragend-arbfp-private.h
cogl-pipeline-fragend-arbfp.c
cogl-pipeline-fragend-fixed-private.h
cogl-pipeline-fragend-fixed.c
cogl-pipeline-fragend-glsl-private.h
cogl-pipeline-fragend-glsl.c
cogl-pipeline-layer-private.h
cogl-pipeline-layer-state-private.h
cogl-pipeline-layer-state.c
cogl-pipeline-layer-state.h
cogl-pipeline-layer.c
cogl-pipeline-opengl-private.h
cogl-pipeline-opengl.c
cogl-pipeline-private.h
cogl-pipeline-progend-fixed-private.h
cogl-pipeline-progend-fixed.c
cogl-pipeline-progend-glsl-private.h
cogl-pipeline-progend-glsl.c
cogl-pipeline-snippet-private.h
cogl-pipeline-snippet.c
cogl-pipeline-state-private.h
cogl-pipeline-state.c
cogl-pipeline-state.h
cogl-pipeline-vertend-fixed-private.h
cogl-pipeline-vertend-fixed.c
cogl-pipeline-vertend-glsl-private.h
cogl-pipeline-vertend-glsl.c
cogl-pipeline.c
cogl-pipeline.h
cogl-pixel-buffer-private.h
cogl-pixel-buffer.c
cogl-pixel-buffer.h
cogl-point-in-poly-private.h
cogl-point-in-poly.c
cogl-poll.c
cogl-poll.h
cogl-primitive-private.h
cogl-primitive.c
cogl-primitive.h
cogl-primitives-private.h framebuffer: Add cogl_framebuffer draw methods 2012-02-09 13:09:15 +00:00
cogl-primitives.c
cogl-primitives.h
cogl-private.h
cogl-profile.c
cogl-profile.h
cogl-program-private.h
cogl-program.c
cogl-quaternion-private.h
cogl-quaternion.c
cogl-quaternion.h
cogl-queue.h
cogl-rectangle-map.c
cogl-rectangle-map.h
cogl-renderer-private.h
cogl-renderer.c
cogl-renderer.h
cogl-shader-boilerplate.h
cogl-shader-private.h
cogl-shader.c
cogl-shader.h
cogl-snippet-private.h
cogl-snippet.c
cogl-snippet.h
cogl-spans.c
cogl-spans.h
cogl-sub-texture-private.h
cogl-sub-texture.c
cogl-sub-texture.h
cogl-swap-chain-private.h
cogl-swap-chain.c
cogl-swap-chain.h
cogl-texture-2d-private.h
cogl-texture-2d-sliced-private.h
cogl-texture-2d-sliced.c
cogl-texture-2d-sliced.h
cogl-texture-2d.c
cogl-texture-2d.h
cogl-texture-3d-private.h
cogl-texture-3d.c
cogl-texture-3d.h
cogl-texture-driver.h
cogl-texture-private.h
cogl-texture-rectangle-private.h
cogl-texture-rectangle.c
cogl-texture-rectangle.h
cogl-texture.c
cogl-texture.h
cogl-types.h pixel formats: Documents the internal representation 2012-02-20 23:12:45 +00:00
cogl-util.c
cogl-util.h
cogl-vector.c
cogl-vector.h
cogl-vertex-buffer-private.h
cogl-vertex-buffer.c
cogl-vertex-buffer.h
cogl-wayland-renderer.h
cogl-win32-renderer.c
cogl-win32-renderer.h
cogl-x11-renderer-private.h
cogl-xlib-private.h
cogl-xlib-renderer-private.h
cogl-xlib-renderer.c
cogl-xlib-renderer.h
cogl-xlib.c
cogl-xlib.h
cogl.c
cogl.h
cogl.rc.in
cogl.symbols
Makefile.am
stb_image.c