<div dir="ltr">I think you might squash the attached diff into your patch.<br><br>Andreas.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/28 Ian Romanick <span dir="ltr"><<a href="mailto:idr@freedesktop.org" target="_blank">idr@freedesktop.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>><br>
<br>
Commit bab755a made the implementation a no-op, and it was only ever<br>
enabled by software rasterizers.<br>
<br>
Signed-off-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>><br>
---<br>
docs/relnotes/9.2.html | 2 ++<br>
src/mapi/glapi/gen/gl_API.xml | 2 +-<br>
src/mapi/glapi/gen/mesadef.py | 1 -<br>
src/mesa/drivers/windows/gdi/mesa.def | 1 -<br>
src/mesa/main/extensions.c | 2 --<br>
src/mesa/main/framebuffer.c | 10 ----------<br>
src/mesa/main/framebuffer.h | 4 ----<br>
src/mesa/main/mtypes.h | 1 -<br>
src/mesa/main/tests/dispatch_sanity.cpp | 3 ---<br>
9 files changed, 3 insertions(+), 23 deletions(-)<br>
<br>
diff --git a/docs/relnotes/9.2.html b/docs/relnotes/9.2.html<br>
index 08e82d0..2f2c394 100644<br>
--- a/docs/relnotes/9.2.html<br>
+++ b/docs/relnotes/9.2.html<br>
@@ -65,6 +65,8 @@ Note: some of the new features are only available with certain drivers.<br>
<li>Removed d3d1x state tracker (unused, unmaintained and broken)</li><br>
<li>Removed GL_EXT_clip_volume_hint because no driver had enabled it since<br>
2007.</li><br>
+<li>Removed GL_MESA_resize_buffers because it was only really implemented by<br>
+the (unsupported) GDI driver.</li><br>
</ul><br>
<br>
</div><br>
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml<br>
index a066fe2..82b908f 100644<br>
--- a/src/mapi/glapi/gen/gl_API.xml<br>
+++ b/src/mapi/glapi/gen/gl_API.xml<br>
@@ -11032,7 +11032,7 @@<br>
</category><br>
<br>
<category name="GL_MESA_resize_buffers" number="196"><br>
- <function name="ResizeBuffersMESA" offset="assign"><br>
+ <function name="ResizeBuffersMESA" offset="assign" exec="skip"><br>
<glx ignore="true"/><br>
</function><br>
</category><br>
diff --git a/src/mapi/glapi/gen/mesadef.py b/src/mapi/glapi/gen/mesadef.py<br>
index f6d33cb..77cc4a3 100644<br>
--- a/src/mapi/glapi/gen/mesadef.py<br>
+++ b/src/mapi/glapi/gen/mesadef.py<br>
@@ -134,7 +134,6 @@ def PrintTail():<br>
print '\t_mesa_new_buffer_object'<br>
print '\t_mesa_new_texture_object'<br>
print '\t_mesa_problem'<br>
- print '\t_mesa_ResizeBuffersMESA'<br>
print '\t_mesa_store_compressed_teximage1d'<br>
print '\t_mesa_store_compressed_teximage2d'<br>
print '\t_mesa_store_compressed_teximage3d'<br>
diff --git a/src/mesa/drivers/windows/gdi/mesa.def b/src/mesa/drivers/windows/gdi/mesa.def<br>
index fec7bba..92736b3 100644<br>
--- a/src/mesa/drivers/windows/gdi/mesa.def<br>
+++ b/src/mesa/drivers/windows/gdi/mesa.def<br>
@@ -556,7 +556,6 @@ EXPORTS<br>
glFogCoorddvEXT<br>
glFogCoordPointerEXT<br>
glBlendFuncSeparateEXT<br>
- glResizeBuffersMESA<br>
glWindowPos2dMESA<br>
glWindowPos2dvMESA<br>
glWindowPos2fMESA<br>
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c<br>
index 8f96a77..9c90bbe 100644<br>
--- a/src/mesa/main/extensions.c<br>
+++ b/src/mesa/main/extensions.c<br>
@@ -307,7 +307,6 @@ static const struct extension extension_table[] = {<br>
{ "GL_IBM_texture_mirrored_repeat", o(dummy_true), GLL, 1998 },<br>
{ "GL_INGR_blend_func_separate", o(EXT_blend_func_separate), GLL, 1999 },<br>
{ "GL_MESA_pack_invert", o(MESA_pack_invert), GL, 2002 },<br>
- { "GL_MESA_resize_buffers", o(MESA_resize_buffers), GL, 1999 },<br>
{ "GL_MESA_texture_array", o(MESA_texture_array), GLL, 2007 },<br>
{ "GL_MESA_texture_signed_rgba", o(EXT_texture_snorm), GL, 2009 },<br>
{ "GL_MESA_window_pos", o(dummy_true), GLL, 2000 },<br>
@@ -445,7 +444,6 @@ _mesa_enable_sw_extensions(struct gl_context *ctx)<br>
/*ctx->Extensions.EXT_transform_feedback = GL_TRUE;*/<br>
ctx->Extensions.EXT_vertex_array_bgra = GL_TRUE;<br>
ctx->Extensions.MESA_pack_invert = GL_TRUE;<br>
- ctx->Extensions.MESA_resize_buffers = GL_TRUE;<br>
ctx->Extensions.MESA_texture_array = GL_TRUE;<br>
ctx->Extensions.MESA_ycbcr_texture = GL_TRUE;<br>
ctx->Extensions.NV_blend_square = GL_TRUE;<br>
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c<br>
index d28882a..4ec4118 100644<br>
--- a/src/mesa/main/framebuffer.c<br>
+++ b/src/mesa/main/framebuffer.c<br>
@@ -319,16 +319,6 @@ _mesa_resize_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb,<br>
}<br>
}<br>
<br>
-/*<br>
- * XXX THIS IS OBSOLETE<br>
- */<br>
-void GLAPIENTRY<br>
-_mesa_ResizeBuffersMESA( void )<br>
-{<br>
-}<br>
-<br>
-<br>
-<br>
/**<br>
* Examine all the framebuffer's renderbuffers to update the Width/Height<br>
* fields of the framebuffer. If we have renderbuffers with different<br>
diff --git a/src/mesa/main/framebuffer.h b/src/mesa/main/framebuffer.h<br>
index 1b1caab..2645664 100644<br>
--- a/src/mesa/main/framebuffer.h<br>
+++ b/src/mesa/main/framebuffer.h<br>
@@ -71,10 +71,6 @@ _mesa_resize_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb,<br>
extern void<br>
_mesa_resizebuffers( struct gl_context *ctx );<br>
<br>
-extern void GLAPIENTRY<br>
-_mesa_ResizeBuffersMESA( void );<br>
-<br>
-<br>
extern void<br>
_mesa_update_draw_buffer_bounds(struct gl_context *ctx);<br>
<br>
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h<br>
index df2d20b..1edc917 100644<br>
--- a/src/mesa/main/mtypes.h<br>
+++ b/src/mesa/main/mtypes.h<br>
@@ -3099,7 +3099,6 @@ struct gl_extensions<br>
GLboolean ATI_fragment_shader;<br>
GLboolean ATI_separate_stencil;<br>
GLboolean MESA_pack_invert;<br>
- GLboolean MESA_resize_buffers;<br>
GLboolean MESA_ycbcr_texture;<br>
GLboolean MESA_texture_array;<br>
GLboolean NV_blend_square;<br>
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp<br>
index 3efb195..8d37747 100644<br>
--- a/src/mesa/main/tests/dispatch_sanity.cpp<br>
+++ b/src/mesa/main/tests/dispatch_sanity.cpp<br>
@@ -501,9 +501,6 @@ const struct function gl_core_functions_possible[] = {<br>
/* GL_EXT_transform_feedback */<br>
{ "glBindBufferOffsetEXT", 31, -1 },<br>
<br>
- /* GL_MESA_resize_buffers */<br>
- { "glResizeBuffersMESA", 31, -1 },<br>
-<br>
/* GL_IBM_multimode_draw_arrays */<br>
{ "glMultiModeDrawArraysIBM", 31, -1 },<br>
{ "glMultiModeDrawElementsIBM", 31, -1 },<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.1.4<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>