[Mesa-dev] [PATCH 3/4] gallium: add GREMEDY_string_marker

Emil Velikov emil.l.velikov at gmail.com
Tue Dec 8 03:57:24 PST 2015


On 7 December 2015 at 18:55, Rob Clark <robdclark at gmail.com> wrote:
> On Mon, Dec 7, 2015 at 1:42 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> On 7 December 2015 at 16:45, Rob Clark <robdclark at gmail.com> wrote:
>>> From: Rob Clark <robclark at freedesktop.org>
>>>
>>> Only exposed w/ ST_DEBUG=gremedy.
>>>
>> Perhaps a bit of a silly question - why expose the extension only for
>> debug mesa builds ? Afaict there isn't any noticeable performance
>> implication (from infrastructural POV) is there ?
>>
>> If driver X performance goes down the drain, just have them
>> conditionally return 0/1 for PIPE_CAP_STRING_MARKER ?
>
> It was suggested, iirc by Ian, on the basis that apps might do
> something non-performant if they see the extension (since the original
> use-case was that the extension is injected by the gremedy debugger).
>
Hmm fair enough. Can you add some/most of that in the commit message, please ?

Thanks
Emil


More information about the mesa-dev mailing list