glthread: handle gl{Push,Pop}ClientAttrib{DefaultEXT} for glthread states Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4314>
glthread: track pointers and strides for Pointer & EXT_dsa attrib functions Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4314>
glthread: ignore vertex arrays with user pointers if they're disabled Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4124>
glthread: track which vertex array attribs are enabled Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4124>
glthread: don't execute any custom VAO and BindBuffer code in the Core profile It's not needed, because user pointers can never occur there. Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4251>
glthread: add custom marshalling for glNamedBuffer(Sub)DataEXT Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
glthread: track for each VAO whether the user has set a user pointer This commit mainly adds basic infrastructure for tracking vertex array state. If glthread gets a non-VBO pointer, this commit delays disabling glthread until glDraw is called. The next will change that to "sync" instead of "disable". Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
glthread: add support for glFog, glLight, glLightModel, glTexEnv, glTexGen Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
glthread: add support for TexParameteri and SamplerParameteri functions It's straightfoward except that I had to hack the python scripts to add "marshal_count", which behaves just like "count" except that "variable_param" is ignored. ("variable_param" changes the behavior of "count", which I don't want) Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
glthread: add/update count and marshal fields for many GL functions Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
mesa: add EXT_dsa glGetVertexArray* 4 functions The implementation doesn't share much with get.c because: * the refactoring needed for get.c to not depend on ctx->Array.VAO would be quite large * glGetVertexArray* would still need to filter pname to only accept the one specified by the spec * these functions are getter, the implementation is trivial (the complexity is in the correct filtering of pname input) Reviewed-by: Marek Olšák <marek.olsak@amd.com>
mesa: add EXT_dsa EnableVertexArrayAttribEXT / DisableVertexArrayAttribEXT Reviewed-by: Marek Olšák <marek.olsak@amd.com>
mesa: add EXT_dsa glEnableVertexArrayEXT / glDisableVertexArrayEXT Reviewed-by: Marek Olšák <marek.olsak@amd.com>
mesa: add EXT_dsa glVertexArray* functions declarations Reviewed-by: Marek Olšák <marek.olsak@amd.com>
mesa: add EXT_dsa NamedCopyBufferSubDataEXT function Reviewed-by: Marek Olšák <marek.olsak@amd.com>
mesa: add EXT_dsa NamedRenderbufferStorageMultisampleEXT function Reviewed-by: Marek Olšák <marek.olsak@amd.com>
mesa: add EXT_dsa Generate*MipmapEXT functions Reviewed-by: Marek Olšák <marek.olsak@amd.com>
mesa: add EXT_dsa glGetFloati_vEXT/glGetDoublei_vEXT Reviewed-by: Marek Olšák <marek.olsak@amd.com>
mesa: add EXT_dsa + EXT_gpu_program_parameters functions Reviewed-by: Marek Olšák <marek.olsak@amd.com>
mesa: add EXT_dsa + EXT_gpu_shader4 functions Reviewed-by: Marek Olšák <marek.olsak@amd.com>