[Mesa-dev] struct gl_context

Qu Wenruo quwenruo.btrfs at gmx.com
Fri Sep 24 07:01:29 UTC 2021

On 2021/9/24 14:43, Dave Airlie wrote:
> On Fri, 24 Sept 2021 at 16:35, an0oo0nym0oo0us OoO
> <oooanoonymoous at gmail.com> wrote:
>> Hello everyone,
>> I'm new to Mesa3D, and have read its source code for a last few days. I cannot find where "struct gl_context" definition. Can you help me find it out?
> src/mesa/main/mtypes.h
> irc.oftc.net:#dri-devel is also available for answering these sort of
> things faster.

And you can also setup clangd to jump to definition.

You will need to use bear to generate the ast though.

This would be compiler level completion which can understand things like
config time macros.


> Dave.

More information about the mesa-dev mailing list