[Mesa-dev] struct gl_context

an0oo0nym0oo0us OoO oooanoonymoous at gmail.com
Fri Sep 24 07:17:06 UTC 2021


Wow, I saw it in src/mesa/main/mtypes.h. I only read the declaration in the
beginning of the file, so I didn't see the struct definition.
Many thanks,
Le Minh Son

On Fri, Sep 24, 2021 at 2:01 PM Qu Wenruo <quwenruo.btrfs at gmx.com> wrote:

>
>
> 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.
>
> Thanks,
> Qu
>
> >
> > Dave.
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20210924/c1dc9c0d/attachment.htm>


More information about the mesa-dev mailing list