mesa: remove deprecated comments
authorMarek Olšák <marek.olsak@amd.com>
Fri, 12 Aug 2022 09:20:31 +0000 (05:20 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 26 Sep 2022 22:58:16 +0000 (22:58 +0000)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>

src/mesa/main/dlist.c
src/mesa/vbo/vbo_context.c
src/mesa/vbo/vbo_save_api.c

index c78242b..efc0c97 100644 (file)
@@ -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)
index 0ac99b5..c22bfdb 100644 (file)
@@ -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);
index 4311bd5..8469fc8 100644 (file)
@@ -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)
 {