gallium: Simple cross platform get-opt system.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 24 Mar 2008 22:30:33 +0000 (22:30 +0000)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 24 Mar 2008 22:31:36 +0000 (22:31 +0000)
commite8c6ea4f608296ed976f1597ffd46ac0b42fc84a
treed7d2047da352769896bc7cc058b055dfef59718f
parentdd51365acdd515577ee76850ceda01347ceb27c0
gallium: Simple cross platform get-opt system.

Uses getenv on Linux, and a memory mapped text file on Windows.

It supports boolean options, flags, and plain strings.
src/gallium/auxiliary/util/p_debug.c
src/gallium/include/pipe/p_debug.h