[Mesa-dev] [PATCH 4/4] st/omx: add headless support

Emil Velikov emil.l.velikov at gmail.com
Fri Nov 6 08:37:01 PST 2015


Hello Leo,

On 6 November 2015 at 16:00, Liu, Leo <Leo.Liu at amd.com> wrote:
> Hi Emil,
>
>>Shorten the variable name - OMX_RENDER_NODE ? debug_get_option is only
>>available on debug builds so better use getenv.
>>
>
> The debug_get_*_option() functions are used all around mesa, and functions are explicitly preferred to working with getenv() directly.
>
Upon closer look it seems that those are in place even for normal
builds. Got confused with some nouveau code which uses them only on
debug builds.

Sorry about that.

-Emil


More information about the mesa-dev mailing list