mesa: Make a Mesa core function for sRGB render encoding handling.
authorEric Anholt <eric@anholt.net>
Thu, 18 Apr 2013 16:20:55 +0000 (09:20 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Apr 2013 18:59:23 +0000 (11:59 -0700)
commite34c857639380303a43146a50cdd724774f59a2f
tree919d6ab25240cf3f46ebc452b0d682fa1a4c92e8
parentdb31bc5cfb7c08c1a32067b09d769c880bc4e954
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 <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
src/mesa/main/blend.c
src/mesa/main/blend.h