From f44ada0eb676e4e23503ae22febb8f986acf41c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 12 Aug 2022 05:20:31 -0400 Subject: [PATCH] mesa: remove deprecated comments Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/mesa/main/dlist.c | 4 ---- src/mesa/vbo/vbo_context.c | 4 ---- src/mesa/vbo/vbo_save_api.c | 5 ----- 3 files changed, 13 deletions(-) diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index c78242b..efc0c97 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -13600,10 +13600,6 @@ _mesa_ListBase(GLuint base) /** * Setup the given dispatch table to point to Mesa's display list * building functions. - * - * This does not include any of the tnl functions - they are - * initialized from _mesa_init_api_defaults and from the active vtxfmt - * struct. */ void _mesa_initialize_save_table(const struct gl_context *ctx) diff --git a/src/mesa/vbo/vbo_context.c b/src/mesa/vbo/vbo_context.c index 0ac99b5..c22bfdb 100644 --- a/src/mesa/vbo/vbo_context.c +++ b/src/mesa/vbo/vbo_context.c @@ -162,10 +162,6 @@ _vbo_CreateContext(struct gl_context *ctx) /* make sure all VBO_ATTRIB_ values can fit in an unsigned byte */ STATIC_ASSERT(VBO_ATTRIB_MAX <= 255); - /* Hook our functions into exec and compile dispatch tables. These - * will pretty much be permanently installed, which means that the - * vtxfmt mechanism can be removed now. - */ vbo_exec_init(ctx); if (ctx->API == API_OPENGL_COMPAT) vbo_save_init(ctx); diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index 4311bd5..8469fc8 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -1605,11 +1605,6 @@ _save_PrimitiveRestartNV(void) } -/* Unlike the functions above, these are to be hooked into the vtxfmt - * maintained in ctx->ListState, active when the list is known or - * suspected to be outside any begin/end primitive. - * Note: OBE = Outside Begin/End - */ void GLAPIENTRY save_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) { -- 2.7.4