mesa.git
14 years agoglut: Prevent potential double free in menuVisualSetup.
Vinson Lee [Sun, 13 Dec 2009 05:46:13 +0000 (21:46 -0800)]
glut: Prevent potential double free in menuVisualSetup.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_poly_elts.
Vinson Lee [Sun, 13 Dec 2009 04:20:02 +0000 (20:20 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_poly_elts.

14 years agoglsl: Initialize member label of struct slang_operation to NULL.
Vinson Lee [Sun, 13 Dec 2009 02:42:18 +0000 (18:42 -0800)]
glsl: Initialize member label of struct slang_operation to NULL.

14 years agosoftpipe: Initialize source in blend_quad.
Vinson Lee [Sun, 13 Dec 2009 02:34:15 +0000 (18:34 -0800)]
softpipe: Initialize source in blend_quad.

14 years agot_dd_dmatmp2.h: Silence unused value warnings.
Vinson Lee [Sun, 13 Dec 2009 00:56:07 +0000 (16:56 -0800)]
t_dd_dmatmp2.h: Silence unused value warnings.

14 years agoi915g: Silence unused value warning in intel_drm_get_device_id.
Vinson Lee [Sun, 13 Dec 2009 00:24:25 +0000 (16:24 -0800)]
i915g: Silence unused value warning in intel_drm_get_device_id.

14 years agot_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.
Vinson Lee [Sun, 13 Dec 2009 00:18:08 +0000 (16:18 -0800)]
t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts.
Vinson Lee [Sun, 13 Dec 2009 00:02:09 +0000 (16:02 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts.

14 years agoprogs/trivial: Silence compiler warnings in tri-blend-min.c.
Vinson Lee [Sat, 12 Dec 2009 23:47:17 +0000 (15:47 -0800)]
progs/trivial: Silence compiler warnings in tri-blend-min.c.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_poly_verts.
Vinson Lee [Sat, 12 Dec 2009 23:27:30 +0000 (15:27 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_poly_verts.

14 years agoswrast: Initialize tex_coords in handle_sample_op.
Vinson Lee [Sat, 12 Dec 2009 23:08:01 +0000 (15:08 -0800)]
swrast: Initialize tex_coords in handle_sample_op.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_quads_verts.
Vinson Lee [Sat, 12 Dec 2009 22:41:35 +0000 (14:41 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_quads_verts.

14 years agoprogs/trivial: Silence compiler warnings in tri-blend-max.c
Vinson Lee [Sat, 12 Dec 2009 22:20:17 +0000 (14:20 -0800)]
progs/trivial: Silence compiler warnings in tri-blend-max.c

14 years agot_dd_dmatmp.h: Silence unused value warning in render_tri_fan_verts.
Vinson Lee [Sat, 12 Dec 2009 21:39:39 +0000 (13:39 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_verts.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.
Vinson Lee [Sat, 12 Dec 2009 20:52:02 +0000 (12:52 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.

14 years agoprogs/xdemos: Silence compiler warnings in glxinfo.c.
Vinson Lee [Sat, 12 Dec 2009 10:06:51 +0000 (02:06 -0800)]
progs/xdemos: Silence compiler warnings in glxinfo.c.

14 years agoprogs/tests: Silence compiler warnings in vpeval.c.
Vinson Lee [Sat, 12 Dec 2009 09:34:33 +0000 (01:34 -0800)]
progs/tests: Silence compiler warnings in vpeval.c.

14 years agoprogs/tests: Silence compiler warnings in cva.c.
Vinson Lee [Sat, 12 Dec 2009 09:11:56 +0000 (01:11 -0800)]
progs/tests: Silence compiler warnings in cva.c.

14 years agoprogs/redbook: Silence compiler warnings in aaindex.c.
Vinson Lee [Sat, 12 Dec 2009 09:02:16 +0000 (01:02 -0800)]
progs/redbook: Silence compiler warnings in aaindex.c.

14 years agot_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.
Vinson Lee [Sat, 12 Dec 2009 08:33:42 +0000 (00:33 -0800)]
t_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts.

14 years agodocs: updated 7.6.1 relnotes with GLSL fixes
Brian Paul [Fri, 11 Dec 2009 16:41:34 +0000 (09:41 -0700)]
docs: updated 7.6.1 relnotes with GLSL fixes

14 years agomesa: remove unnecessary loop in _mesa_remove_output_reads()
Brian Paul [Fri, 11 Dec 2009 16:40:33 +0000 (09:40 -0700)]
mesa: remove unnecessary loop in _mesa_remove_output_reads()

14 years agomesa: check dst reg in _mesa_find_free_register()
Brian Paul [Fri, 11 Dec 2009 16:16:25 +0000 (09:16 -0700)]
mesa: check dst reg in _mesa_find_free_register()

If a register was only being used as a destination (as will happen when
generated condition-codes) we missed its use.  So we'd errantly return
a register index that was really in-use, not free.

Fixes bug 25579.

14 years agosparc: additional preprocessor test for SPARC 64-bit
Aurelien Jarno [Fri, 11 Dec 2009 15:46:54 +0000 (08:46 -0700)]
sparc: additional preprocessor test for SPARC 64-bit

14 years agomesa: Initialize variable in MatchInstruction.
Vinson Lee [Fri, 11 Dec 2009 02:51:51 +0000 (18:51 -0800)]
mesa: Initialize variable in MatchInstruction.

14 years agomesa: Assign _mesa_lookup_parameter_index return value to GLint.
Vinson Lee [Fri, 11 Dec 2009 02:32:33 +0000 (18:32 -0800)]
mesa: Assign _mesa_lookup_parameter_index return value to GLint.

14 years agoi915: Add missing break statement in i915_debug_packet.
Vinson Lee [Fri, 11 Dec 2009 02:21:59 +0000 (18:21 -0800)]
i915: Add missing break statement in i915_debug_packet.

14 years agoglsl: Increase size of array in_slang_lookup_constant from 4 to 16.
Vinson Lee [Fri, 11 Dec 2009 01:50:35 +0000 (17:50 -0800)]
glsl: Increase size of array in_slang_lookup_constant from 4 to 16.

For some cases, _mesa_GetIntegerv reads up to params[15].

14 years agoprogs/samples: Byte swap individual members of struct _rawImageRec.
Vinson Lee [Thu, 10 Dec 2009 23:41:13 +0000 (15:41 -0800)]
progs/samples: Byte swap individual members of struct _rawImageRec.

14 years agoprogs/util: Byte swap individual members of struct _rawImageRec.
Vinson Lee [Thu, 10 Dec 2009 21:24:15 +0000 (13:24 -0800)]
progs/util: Byte swap individual members of struct _rawImageRec.

14 years agoglsl: Fix array out-of-bounds access by _slang_lookup_constant.
Vinson Lee [Thu, 10 Dec 2009 20:37:10 +0000 (12:37 -0800)]
glsl: Fix array out-of-bounds access by _slang_lookup_constant.

14 years agomesa: Fix array out-of-bounds access by _mesa_TexParameteriv.
Vinson Lee [Thu, 10 Dec 2009 20:11:09 +0000 (12:11 -0800)]
mesa: Fix array out-of-bounds access by _mesa_TexParameteriv.

14 years agomesa: Fix array out-of-bounds access by _mesa_TexGend.
Vinson Lee [Thu, 10 Dec 2009 01:59:23 +0000 (17:59 -0800)]
mesa: Fix array out-of-bounds access by _mesa_TexGend.

_mesa_TexGend calls _mesa_TexGenfv, which uses the params argument
as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_Lighti.
Vinson Lee [Thu, 10 Dec 2009 01:34:50 +0000 (17:34 -0800)]
mesa: Fix array out-of-bounds access by _mesa_Lighti.

_mesa_Lighti calls _mesa_Lightiv, which uses the params argument
as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_Lightf.
Vinson Lee [Thu, 10 Dec 2009 01:11:30 +0000 (17:11 -0800)]
mesa: Fix array out-of-bounds access by _mesa_Lightf.

14 years agomesa: Fix array out-of-bounds access by _mesa_PointParameteri.
Vinson Lee [Wed, 9 Dec 2009 21:15:05 +0000 (13:15 -0800)]
mesa: Fix array out-of-bounds access by _mesa_PointParameteri.

_mesa_PointParameteri calls _mesa_PointParameterfv, which uses the
params argument as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_PointParameterf.
Vinson Lee [Wed, 9 Dec 2009 21:00:22 +0000 (13:00 -0800)]
mesa: Fix array out-of-bounds access by _mesa_PointParameterf.

_mesa_PointParameterf calls _mesa_PointParameterfv, which uses the
params argument as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_LightModelf.
Vinson Lee [Wed, 9 Dec 2009 20:43:28 +0000 (12:43 -0800)]
mesa: Fix array out-of-bounds access by _mesa_LightModelf.

_mesa_LightModelf calls _mesa_LightModelfv, which uses the
params argument as an array.

14 years agoglsl: Remove unused member x from struct slang_operation.
Vinson Lee [Wed, 9 Dec 2009 19:26:24 +0000 (11:26 -0800)]
glsl: Remove unused member x from struct slang_operation.

14 years agomesa: fix baseLevel >= MAX_TEXTURE_LEVELS test
Brian Paul [Wed, 9 Dec 2009 15:30:01 +0000 (08:30 -0700)]
mesa: fix baseLevel >= MAX_TEXTURE_LEVELS test

This fixes invalid array indexing when baseLevel == MAX_TEXTURE_LEVELS.
See bug 25528.

14 years agor600: fix state size prediction after dc0777d3
Andre Maasikas [Wed, 9 Dec 2009 08:51:52 +0000 (10:51 +0200)]
r600: fix state size prediction after dc0777d3

14 years agomesa: Fix array out-of-bounds access by _mesa_LightModeli.
Vinson Lee [Wed, 9 Dec 2009 02:26:05 +0000 (18:26 -0800)]
mesa: Fix array out-of-bounds access by _mesa_LightModeli.

_mesa_LightModeli calls _mesa_LightModeliv, which uses the
params argument as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_Fogf.
Vinson Lee [Wed, 9 Dec 2009 01:51:07 +0000 (17:51 -0800)]
mesa: Fix array out-of-bounds access by _mesa_Fogf.

_mesa_Fogf calls _mesa_Fogfv, which uses the params argument
as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_TexParameteri.
Vinson Lee [Wed, 9 Dec 2009 01:25:05 +0000 (17:25 -0800)]
mesa: Fix array out-of-bounds access by _mesa_TexParameteri.

_mesa_TexParameteri calls set_tex_parameteri, which uses the
params argument as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_Fogi.
Vinson Lee [Wed, 9 Dec 2009 00:04:33 +0000 (16:04 -0800)]
mesa: Fix array out-of-bounds access by _mesa_Fogi.

_mesa_Fogi calls _mesa_Fogfv, which uses the params argument
as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_TexParameteri.
Vinson Lee [Tue, 8 Dec 2009 23:42:13 +0000 (15:42 -0800)]
mesa: Fix array out-of-bounds access by _mesa_TexParameteri.

_mesa_TexParameteri calls set_tex_parameterf, which uses the
params argument as an array.

14 years agomesa: Fix array out-of-bounds access by _mesa_TexParameterfv.
Vinson Lee [Tue, 8 Dec 2009 22:31:38 +0000 (14:31 -0800)]
mesa: Fix array out-of-bounds access by _mesa_TexParameterfv.

_mesa_TexParameterfv calls set_tex_parameteri, which uses the
params argument as an array.

14 years agovbo: fix array index out of bounds error, and fix evaluator priorities
Brian Paul [Tue, 8 Dec 2009 22:03:15 +0000 (15:03 -0700)]
vbo: fix array index out of bounds error, and fix evaluator priorities

Fixes bug 25525.
Plus, the GL_NV_vertex_program evaluators alias and override the
convential evaluator maps, so set their state after the conventional
maps.

14 years agoi915g: Fix memory leak when pci id is unknown.
Vinson Lee [Tue, 8 Dec 2009 08:43:38 +0000 (00:43 -0800)]
i915g: Fix memory leak when pci id is unknown.

14 years agoi915g: Add missing break statement in i915_debug_packet.
Vinson Lee [Tue, 8 Dec 2009 08:37:35 +0000 (00:37 -0800)]
i915g: Add missing break statement in i915_debug_packet.

14 years agorbug: Initialize variable in rbug_get_message.
Vinson Lee [Tue, 8 Dec 2009 08:26:37 +0000 (00:26 -0800)]
rbug: Initialize variable in rbug_get_message.

Silences uninitialized variable warning.

14 years agor600: add support for TXB instruction
Andre Maasikas [Thu, 3 Dec 2009 10:26:44 +0000 (12:26 +0200)]
r600: add support for TXB instruction

makes testing other things easier - does not hang the card
TODO: enable TEX dependency tracking in vertex programs

14 years agor600: reorder state for render_target and blend
Andre Maasikas [Wed, 4 Nov 2009 08:00:47 +0000 (10:00 +0200)]
r600: reorder state for render_target and blend

First time around render targets are not enabled yet (done in
r700SendRenderTargetState) so blend state is not emitted for any targets.
Affects first glClear in some mesa tests.
As a quick fix reorder state emit so that target is set first

14 years agollvmpipe: Initialize variables in emit_instruction.
Vinson Lee [Tue, 8 Dec 2009 03:04:07 +0000 (19:04 -0800)]
llvmpipe: Initialize variables in emit_instruction.

14 years agoprogs/test: Initialize variable in prog_parameter.
Vinson Lee [Tue, 8 Dec 2009 02:40:37 +0000 (18:40 -0800)]
progs/test: Initialize variable in prog_parameter.

Silences uninitialized variable compiler warning.

14 years agomesa: set version string to 7.6.1-rc3
Ian Romanick [Tue, 8 Dec 2009 00:59:59 +0000 (16:59 -0800)]
mesa: set version string to 7.6.1-rc3

14 years agoprogs/demos: Fix memory leak in projtex.c.
Vinson Lee [Mon, 7 Dec 2009 20:31:08 +0000 (12:31 -0800)]
progs/demos: Fix memory leak in projtex.c.

14 years agost/egl: Fix memory leak in egl_tracker.c.
Vinson Lee [Sat, 21 Nov 2009 00:33:25 +0000 (16:33 -0800)]
st/egl: Fix memory leak in egl_tracker.c.
(cherry picked from commit 052b127842af3372fd768eae8e29b240a696a12a)

14 years agodri: Fix potential null pointer dereference in driBindContext.
Vinson Lee [Sun, 29 Nov 2009 04:22:31 +0000 (23:22 -0500)]
dri: Fix potential null pointer dereference in driBindContext.
(cherry picked from commit 919898e92fa23ff71a59d86a46ff0886a6f34e4d)

14 years agodri: Fix potential null pointer deference in dri_put_drawable.
Vinson Lee [Tue, 24 Nov 2009 05:57:55 +0000 (00:57 -0500)]
dri: Fix potential null pointer deference in dri_put_drawable.
(cherry picked from commit 364070b1f2b08d43fb205ec198894a35bec6b2f3)

14 years agoglx: Prevent potential null pointer deference in driCreateContext.
Vinson Lee [Mon, 23 Nov 2009 06:30:32 +0000 (01:30 -0500)]
glx: Prevent potential null pointer deference in driCreateContext.
(cherry picked from commit 4b0b250aae6ae7d48cd24f9d91d05ab58086c4b2)

14 years agoprogs/tests: Add tests to Makefile.
Vinson Lee [Fri, 9 Oct 2009 13:24:04 +0000 (07:24 -0600)]
progs/tests: Add tests to Makefile.
(cherry picked from commit 76d2ec3a0a047a65ffca70f53848241a3225dad3)

14 years agodraw: Initialize variable in draw_pt.c.
Vinson Lee [Sat, 21 Nov 2009 00:03:48 +0000 (16:03 -0800)]
draw: Initialize variable in draw_pt.c.
(cherry picked from commit ea98e9820d7117f7a187f355445796b1ef5d9e0c)

14 years agomesa: Fix array out-of-bounds access by _mesa_TexGenf.
Vinson Lee [Sun, 29 Nov 2009 05:50:48 +0000 (00:50 -0500)]
mesa: Fix array out-of-bounds access by _mesa_TexGenf.

_mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument
as an array.
(cherry picked from commit ca5a7aadb4361e7d053aea8687372cd44cbd8795)

14 years agomesa: Fix array out-of-bounds access by _mesa_TexGeni.
Vinson Lee [Sun, 29 Nov 2009 04:47:23 +0000 (23:47 -0500)]
mesa: Fix array out-of-bounds access by _mesa_TexGeni.

_mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument
as an array.
(cherry picked from commit d55fb7c835b56951f05a058083e7eda264ba192e)

14 years agomesa: Fix array out-of-bounds access by _mesa_TexParameterf.
Vinson Lee [Mon, 30 Nov 2009 02:17:44 +0000 (21:17 -0500)]
mesa: Fix array out-of-bounds access by _mesa_TexParameterf.

_mesa_TexParameterf calls set_tex_parameterf, which uses the params
argument as an array.
(cherry picked from commit 270d36da146b899d39e08f830fe34b63833a3731)

14 years agomesa: Fix array out-of-bounds access by _mesa_TexParameterf.
Vinson Lee [Sun, 29 Nov 2009 23:18:23 +0000 (18:18 -0500)]
mesa: Fix array out-of-bounds access by _mesa_TexParameterf.

_mesa_TexParameterf calls set_tex_parameteri, which uses the params
argument as an array.
(cherry picked from commit a201dfb6bf28b89d6f511c2ec9ae0d81ef18511d)

14 years agoprogs/samples: Fix memory leak if malloc fails in rgbtoppm.c.
Vinson Lee [Sat, 5 Dec 2009 09:43:29 +0000 (01:43 -0800)]
progs/samples: Fix memory leak if malloc fails in rgbtoppm.c.

14 years agoprogs/samples: Fix memory leak if fopen fails in rgbtoppm.c.
Vinson Lee [Sat, 5 Dec 2009 09:38:14 +0000 (01:38 -0800)]
progs/samples: Fix memory leak if fopen fails in rgbtoppm.c.

14 years agoprogs/samples: Add rgbtoppm to Makefile.
Vinson Lee [Sat, 5 Dec 2009 09:28:47 +0000 (01:28 -0800)]
progs/samples: Add rgbtoppm to Makefile.

14 years agoprogs/tests: Removed unused variable from texdown.c.
Vinson Lee [Sat, 5 Dec 2009 09:22:34 +0000 (01:22 -0800)]
progs/tests: Removed unused variable from texdown.c.

14 years agoprogs/vpglsl: Assign glGetUniformLocationARB return value to GLint.
Vinson Lee [Sat, 5 Dec 2009 09:11:26 +0000 (01:11 -0800)]
progs/vpglsl: Assign glGetUniformLocationARB return value to GLint.

The return type of glGetUniformLocationARB is GLint, not GLuint.

14 years agoprogs/fp: Redraw upon keypress.
Vinson Lee [Sat, 5 Dec 2009 07:31:39 +0000 (23:31 -0800)]
progs/fp: Redraw upon keypress.

14 years agomesa: Fix array out-of-bounds access in _mesa_TexEnvf.
Vinson Lee [Sun, 29 Nov 2009 03:04:06 +0000 (22:04 -0500)]
mesa: Fix array out-of-bounds access in _mesa_TexEnvf.

_mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument
as an array.
(cherry picked from commit a11d60d14caf8efc07f70af63b57b33273f8cf9b)

14 years agoprogs/util: Fix memory leak if fread returns 0 in CompileShaderFile.
Vinson Lee [Tue, 17 Nov 2009 20:00:22 +0000 (12:00 -0800)]
progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.
(cherry picked from commit 11905da8836822f7dd60c84b5eefc72e46c94b50)

14 years agoprogs/util: Fix memory leak if fail to load/compile shader
Vinson Lee [Tue, 3 Nov 2009 21:41:08 +0000 (14:41 -0700)]
progs/util: Fix memory leak if fail to load/compile shader

Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit c475079ef2d901ba4506ebd53e19419cd46793ab)

14 years agoprogs/fp: Add tri-inv.c to Makefile.
Vinson Lee [Sat, 5 Dec 2009 01:29:53 +0000 (17:29 -0800)]
progs/fp: Add tri-inv.c to Makefile.

14 years agor300g: use $(MAKE) variable
Coleman Kane [Fri, 4 Dec 2009 15:44:57 +0000 (08:44 -0700)]
r300g: use $(MAKE) variable

Fixes bug 24501

14 years agoprogs/xdemos: fix some visual/fbconfig logic in glxinfo.c
Brian Paul [Fri, 4 Dec 2009 15:09:55 +0000 (08:09 -0700)]
progs/xdemos: fix some visual/fbconfig logic in glxinfo.c

The fbAttribSingle/Double arrays had wrong GLX_DOUBLEBUFFER values.
We only need to use the glXChooseFBConfig() code when glXChooseVisual()
fails (but I don't know when that would happen).
Other recent commits errantly removed some code in this area too.

14 years agodocs: a few more fixes for 7.6.1
Brian Paul [Fri, 4 Dec 2009 15:09:07 +0000 (08:09 -0700)]
docs: a few more fixes for 7.6.1

14 years agoradeon: fix polygon stipple
Alex Deucher [Fri, 4 Dec 2009 14:52:37 +0000 (09:52 -0500)]
radeon: fix polygon stipple

fixes fdo bug 25354

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
14 years agoglu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.
Vinson Lee [Thu, 26 Nov 2009 05:35:31 +0000 (00:35 -0500)]
glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.
(cherry picked from commit 808f0376607b0e2d31dfebc888fd8f1e737fed09)

14 years agoglu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore.
Vinson Lee [Wed, 25 Nov 2009 05:39:37 +0000 (00:39 -0500)]
glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore.
(cherry picked from commit 94bcb9f1a43f2ab3bdff09156e3ab5b1c115cbd8)

14 years agoglu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.
Vinson Lee [Wed, 25 Nov 2009 05:28:56 +0000 (00:28 -0500)]
glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.
(cherry picked from commit 0d89f3dc7ff3f89ba8d5d664253730485bca35e2)

14 years agoglu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.
Vinson Lee [Wed, 25 Nov 2009 05:18:49 +0000 (00:18 -0500)]
glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.
(cherry picked from commit f895abbd9777c4985aa40cf660c68f6d7333f0ec)

14 years agoglu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.
Vinson Lee [Tue, 24 Nov 2009 06:23:12 +0000 (01:23 -0500)]
glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.
(cherry picked from commit 326b66d724754ca97012501db1c7c62d7d41a457)

14 years agoglu/sgi: Fix memory leak in bitmapBuild2DMipmaps.
Vinson Lee [Mon, 23 Nov 2009 06:09:06 +0000 (01:09 -0500)]
glu/sgi: Fix memory leak in bitmapBuild2DMipmaps.
(cherry picked from commit 5b925b7daa566d799c4f50911a7fcca114131503)

14 years agoglu/sgi: Fix memory leak in gluScaleImage3D.
Vinson Lee [Mon, 23 Nov 2009 05:57:37 +0000 (00:57 -0500)]
glu/sgi: Fix memory leak in gluScaleImage3D.
(cherry picked from commit b611f639b4bffdcca376293f7ce71af9f6bdbff3)

14 years agoglu/sgi: Fix memory leak in gluScaleImage.
Vinson Lee [Sun, 22 Nov 2009 06:57:35 +0000 (01:57 -0500)]
glu/sgi: Fix memory leak in gluScaleImage.
(cherry picked from commit a9c540f5dedbf593f8038fdbc95eecb60826ab26)

14 years agoglu: Fix memory leak in __gl_meshMakeEdge.
Vinson Lee [Sun, 22 Nov 2009 06:45:53 +0000 (01:45 -0500)]
glu: Fix memory leak in __gl_meshMakeEdge.
(cherry picked from commit d3b4c99c703f70a9d0e715a97e52672f7f8fc980)

14 years agoprogs/xdemos: Silence unused value warnings in sharedtex_mt.c.
Vinson Lee [Fri, 20 Nov 2009 21:09:42 +0000 (13:09 -0800)]
progs/xdemos: Silence unused value warnings in sharedtex_mt.c.
(cherry picked from commit 8556fad75124e1ade9af095e112ebb6ac5cbff61)

14 years agoprogs/xdemos: Fix memory leak in pbdemo.c.
Vinson Lee [Fri, 20 Nov 2009 23:48:29 +0000 (15:48 -0800)]
progs/xdemos: Fix memory leak in pbdemo.c.
(cherry picked from commit e0857962b911ef317238498305651515d83029ae)

14 years agoprogs/xdemos: Add missing break statement in offset.c.
Vinson Lee [Thu, 19 Nov 2009 22:20:26 +0000 (14:20 -0800)]
progs/xdemos: Add missing break statement in offset.c.
(cherry picked from commit 4ab8dbe5935d5c946cbc9af6982461073a784d07)

14 years agoprogs/xdemos: Remove duplicate code in glxinfo.c.
Vinson Lee [Fri, 20 Nov 2009 23:06:56 +0000 (15:06 -0800)]
progs/xdemos: Remove duplicate code in glxinfo.c.
(cherry picked from commit a4720a1a3206dd2edecf47a21fce547a79b67610)

14 years agoprogs/xdemos: Fix memory leak in glxinfo.c.
Vinson Lee [Fri, 20 Nov 2009 21:01:22 +0000 (13:01 -0800)]
progs/xdemos: Fix memory leak in glxinfo.c.
(cherry picked from commit f080567f4c4018c4885c105a154cb0eb39e6234f)

14 years agoprogs/xdemos: Add assert in corender.c.
Vinson Lee [Fri, 20 Nov 2009 23:03:16 +0000 (15:03 -0800)]
progs/xdemos: Add assert in corender.c.
(cherry picked from commit 66a4ec14c38d407256545e0cf31c98974d621fe4)

14 years agoprogs/vp: Fix memory leak in vp-tris.c.
Vinson Lee [Fri, 20 Nov 2009 06:59:01 +0000 (22:59 -0800)]
progs/vp: Fix memory leak in vp-tris.c.
(cherry picked from commit 760cf71572a071ce43da576ebfeff4a8099150bc)

14 years agoprogs/tests: Fix memory leak in texdown.c if malloc fails.
Vinson Lee [Thu, 19 Nov 2009 01:30:50 +0000 (17:30 -0800)]
progs/tests: Fix memory leak in texdown.c if malloc fails.
(cherry picked from commit e3cfd78969cd4a94fc83a5d6fb2f33730cc4e70f)

14 years agoprogs/redbook: Fix memory leak in quadric.c.
Vinson Lee [Tue, 17 Nov 2009 22:10:35 +0000 (14:10 -0800)]
progs/redbook: Fix memory leak in quadric.c.
(cherry picked from commit 47b5f584a68ceab7c9c1d5279efbc9fe30ff2fcc)

14 years agoprogs/glsl: Fix memory leak in deriv.c.
Vinson Lee [Tue, 17 Nov 2009 17:53:19 +0000 (09:53 -0800)]
progs/glsl: Fix memory leak in deriv.c.
(cherry picked from commit 0e783c7d03128aade3ca50b28a56e254fef6b6ab)