OSDN Git Service

graw: Export graw_save_surface_to_file().
authorMichal Krol <michal@vmware.com>
Fri, 5 Nov 2010 17:54:02 +0000 (18:54 +0100)
committerMichal Krol <michal@vmware.com>
Mon, 8 Nov 2010 16:24:11 +0000 (17:24 +0100)
commit136ff67ce8a626e628dd76aeb7feba8cf9436cd7
tree52c319f96639d8ce4a867d16b34010f8c97ad144
parent9e7132b52debd3d592391ce89d3582027cb0e161
graw: Export graw_save_surface_to_file().

Allows applications to dump surfaces to file without
referencing gallium/auxiliary entry points statically.

Existing test apps have been modified such that
they save the contents of the fronbuffer only
when the `-o' option's specified.
src/gallium/include/state_tracker/graw.h
src/gallium/targets/graw-null/graw_util.c
src/gallium/tests/graw/clear.c
src/gallium/tests/graw/fs-test.c
src/gallium/tests/graw/gs-test.c
src/gallium/tests/graw/quad-tex.c
src/gallium/tests/graw/shader-leak.c
src/gallium/tests/graw/tri-gs.c
src/gallium/tests/graw/tri-instanced.c
src/gallium/tests/graw/tri.c
src/gallium/tests/graw/vs-test.c