summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/blend.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-04-18 09:20:55 -0700
committerEric Anholt <[email protected]>2013-04-30 11:59:23 -0700
commite34c857639380303a43146a50cdd724774f59a2f (patch)
tree919d6ab25240cf3f46ebc452b0d682fa1a4c92e8 /src/mesa/main/blend.h
parentdb31bc5cfb7c08c1a32067b09d769c880bc4e954 (diff)
mesa: Make a Mesa core function for sRGB render encoding handling.
v2: const-qualify ctx, and add a comment about the function (recommended by Brian and Kenneth). Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> (v1)
Diffstat (limited to 'src/mesa/main/blend.h')
-rw-r--r--src/mesa/main/blend.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/blend.h b/src/mesa/main/blend.h
index 5b7a0259102..b43b3ccb315 100644
--- a/src/mesa/main/blend.h
+++ b/src/mesa/main/blend.h
@@ -35,6 +35,7 @@
#include "glheader.h"
+#include "formats.h"
struct gl_context;
@@ -115,6 +116,9 @@ _mesa_update_clamp_fragment_color(struct gl_context *ctx);
extern void
_mesa_update_clamp_vertex_color(struct gl_context *ctx);
+extern gl_format
+_mesa_get_render_format(const struct gl_context *ctx, gl_format format);
+
extern void
_mesa_init_color( struct gl_context * ctx );