egl/x11_dri3: implement EGL_KHR_swap_buffers_with_damage
[mesa.git] / docs / relnotes / 7.11.1.rst
1 Mesa 7.11.1 Release Notes / November 17, 2011
2 =============================================
3
4 Mesa 7.11.1 is a bug fix release which fixes bugs found since the 7.11
5 release.
6
7 Mesa 7.11 implements the OpenGL 2.1 API, but the version reported by
8 glGetString(GL_VERSION) depends on the particular driver being used.
9 Some drivers don't support all the features required in OpenGL 2.1.
10
11 See the :doc:`Compiling/Installing page <../install>` for
12 prerequisites for DRI hardware acceleration.
13
14 MD5 checksums
15 -------------
16
17 ::
18
19 ac0181a4076770fb657c1169af43aa09 MesaLib-7.11.1.tar.gz
20 a77307102cee844ff6544ffa8fafeac1 MesaLib-7.11.1.tar.bz2
21 dfcb11516c1730f3981b55a65a835623 MesaLib-7.11.1.zip
22 2cb2b9ecb4fb7d1a6be69346ee886952 MesaGLUT-7.11.1.tar.gz
23 3f54e314290d4dacbab089839197080b MesaGLUT-7.11.1.tar.bz2
24 5d66c7ee8c5cc2f27e1ffb037ad4172c MesaGLUT-7.11.1.zip
25
26 New features
27 ------------
28
29 None.
30
31 Bug fixes
32 ---------
33
34 This list is likely incomplete.
35
36 - `Bug 3165 <https://bugs.freedesktop.org/show_bug.cgi?id=3165>`__ -
37 texImage.IsCompressed and texImage.CompressedSize issues
38 - `Bug 23525 <https://bugs.freedesktop.org/show_bug.cgi?id=23525>`__ -
39 Software rendering on QEMU guests badly broken
40 - `Bug 28125 <https://bugs.freedesktop.org/show_bug.cgi?id=28125>`__ -
41 DRI2 prevents indirect glx
42 - `Bug 34628 <https://bugs.freedesktop.org/show_bug.cgi?id=34628>`__ -
43 [ilk] skybox errors in quake4
44 - `Bug 36371 <https://bugs.freedesktop.org/show_bug.cgi?id=36371>`__ -
45 r200: piglit readPixSanity failure
46 - `Bug 36669 <https://bugs.freedesktop.org/show_bug.cgi?id=36669>`__ -
47 EmitNoMainReturn set to 1 doesn't make the GLSL compiler lower all
48 the RET opcodes
49 - `Bug 36939 <https://bugs.freedesktop.org/show_bug.cgi?id=36939>`__ -
50 multitexturing is messed up in quake wars (regression)
51 - `Bug 37907 <https://bugs.freedesktop.org/show_bug.cgi?id=37907>`__ -
52 [swrast] SIGSEGV swrast/s_depth.c:569
53 - `Bug 38163 <https://bugs.freedesktop.org/show_bug.cgi?id=38163>`__ -
54 Gnome Shell Display Bug
55 - `Bug 38625 <https://bugs.freedesktop.org/show_bug.cgi?id=38625>`__ -
56 ast_to_hir.cpp:1761: const glsl_type\* process_array_type(YYLTYPE*,
57 const glsl_type*, ast_node*, \_mesa_glsl_parse_state*): Assertion
58 \`dummy_instructions.is_empty()' failed.
59 - `Bug 38729 <https://bugs.freedesktop.org/show_bug.cgi?id=38729>`__ -
60 [softpipe] sp_quad_depth_test.c:215:convert_quad_stencil: Assertion
61 \`0' failed.
62 - `Bug 38863 <https://bugs.freedesktop.org/show_bug.cgi?id=38863>`__ -
63 [IVB]GPU hang when running 3D games like openarena
64 - `Bug 39193 <https://bugs.freedesktop.org/show_bug.cgi?id=39193>`__ -
65 [llvmpipe and r600g] glCheckFramebufferStatusEXT segfaults in Gallium
66 when checking status on a framebuffer bound to a texture that's bound
67 to a pixmap
68 - `Bug 39651 <https://bugs.freedesktop.org/show_bug.cgi?id=39651>`__ -
69 [glsl] Assertion failure when implicitly converting out parameters
70 - `Bug 39991 <https://bugs.freedesktop.org/show_bug.cgi?id=39991>`__ -
71 [regression]GL_PALETTE8_RGBA8_OES format of glCompressedTexImage2D
72 will cause err GL_INVALID_ENUM with GLES1.x
73 - `Bug 40022 <https://bugs.freedesktop.org/show_bug.cgi?id=40022>`__ -
74 [i915] out-of-bounds write
75 src/mesa/drivers/dri/i915/i915_fragprog.c:321
76 - `Bug 40062 <https://bugs.freedesktop.org/show_bug.cgi?id=40062>`__ -
77 in etqw the strogg radar is black (regression)
78 - `Bug 40324 <https://bugs.freedesktop.org/show_bug.cgi?id=40324>`__ -
79 [SNB] gpu hang in mesa 7.11
80 - `Bug 40533 <https://bugs.freedesktop.org/show_bug.cgi?id=40533>`__ -
81 i915: piglit glean/readPixSanity: DRI2SwapBuffers: BadDrawable
82 (invalid Pixmap or Window parameter)
83 - `Bug 41096 <https://bugs.freedesktop.org/show_bug.cgi?id=41096>`__ -
84 [sandybridge-m-gt2+] GPU lockup render.IPEHR: 0x7a000002
85 - `Bug 41969 <https://bugs.freedesktop.org/show_bug.cgi?id=41969>`__ -
86 The Mesa meta save/restore code doesn't always save the active
87 program
88 - `Bug 42175 <https://bugs.freedesktop.org/show_bug.cgi?id=42175>`__ -
89 RV730: Display errors in glxgears & WebGL
90 - `Bug 42268 <https://bugs.freedesktop.org/show_bug.cgi?id=42268>`__ -
91 [bisected] oglc pbo(negative.invalidOffsetValue) aborts on 7.11
92 branch
93
94 Changes
95 -------
96
97 The full set of changes can be viewed by using the following GIT
98 command:
99
100 ::
101
102 git log mesa-7.11..mesa-7.11.1
103
104 Adam Jackson (2):
105
106 - drisw: Remove cargo culting that breaks GLX 1.3 ctors
107 - glx: Don't enable INTEL_swap_event unconditionally
108
109 Alex Deucher (1):
110
111 - r600g: fix up vs export handling
112
113 Ben Widawsky (1):
114
115 - intel: GetBuffer fix
116
117 Brian Paul (15):
118
119 - docs: add 7.11 md5 sums
120 - docs: news item for 7.11 release
121 - st/mesa: Convert size assertions to conditionals in
122 st_texture_image_copy.
123 - softpipe: add missing stencil format case in convert_quad_stencil()
124 - mesa: fix texstore addressing bugs for depth/stencil formats
125 - mesa: add missing breaks for GL_TEXTURE_CUBE_MAP_SEAMLESS queries
126 - swrast: don't try to do depth testing if there's no depth buffer
127 - meta: fix/add checks for GL_EXT_framebuffer_sRGB
128 - mesa: fix PACK_COLOR_5551(), PACK_COLOR_1555() macros
129 - meta: fix broken sRGB mipmap generation
130 - mesa: add \_NEW_CURRENT_ATTRIB in \_mesa_program_state_flags()
131 - mesa: fix error handling for dlist image unpacking
132 - mesa: generate GL_INVALID_OPERATION in glIsEnabledIndex() between
133 Begin/End
134 - mesa: fix incorrect error code in \_mesa_FramebufferTexture1D/3DEXT()
135 - mesa: fix format/type check in unpack_image() for bitmaps
136
137 Carl Simonson (1):
138
139 - i830: Add missing vtable entry for i830 from the hiz work.
140
141 Carl Worth (5):
142
143 - glcpp: Fix two (or more) successive applications of token pasting
144 - glcpp: Test a non-function-like macro using the token paste operator
145 - glcpp: Implement token pasting for non-function-like macros
146 - glcpp: Raise error if defining any macro containing two consecutive
147 underscores
148 - glcpp: Add a test for #elif with an undefined macro.
149
150 Chad Versace (5):
151
152 - glsl: Add method glsl_type::can_implicitly_convert_to()
153 - glsl: Fix implicit conversions in non-constructor function calls
154 - glsl: Remove ir_function.cpp:type_compare()
155 - glsl: Fix conversions in array constructors
156 - x86-64: Fix compile error with clang
157
158 Chia-I Wu (3):
159
160 - glsl: empty declarations should be valid
161 - intel: rename intel_extensions_es2.c to intel_extensions_es.c
162 - intel: fix GLESv1 support
163
164 Chris Wilson (1):
165
166 - i915: out-of-bounds write in calc_live_regs()
167
168 Christopher James Halse Rogers (1):
169
170 - glx/dri2: Paper over errors in DRI2Connect when indirect
171
172 David Reveman (1):
173
174 - i915g: Fix off-by-one in scissors.
175
176 Eric Anholt (16):
177
178 - mesa: Don't skip glGetProgramEnvParam4dvARB if there was already an
179 error.
180 - mesa: Fix glGetUniform() type conversions.
181 - mesa: Add support for Begin/EndConditionalRender in display lists.
182 - mesa: Throw an error instead of asserting for condrender with query
183 == 0.
184 - mesa: Throw an error when starting conditional render on an active
185 query.
186 - mesa: Don't skip glGetProgramLocalParam4dvARB if there was already an
187 error.
188 - glsl: Allow ir_assignment() constructor to not specify condition.
189 - glsl: Clarify error message about whole-array assignment in GLSL
190 1.10.
191 - glsl: When assigning to a whole array, mark the array as accessed.
192 - glsl: When assiging from a whole array, mark it as used.
193 - i965/fs: Respect ARB_color_buffer_float clamping.
194 - i965: Add missing \_NEW_POLYGON flag to polygon stipple upload.
195 - i965: Fix polygon stipple offset state flagging.
196 - intel: Mark MESA_FORMAT_X8_Z24 as always supported.
197 - mesa: Don't error on glFeedbackBuffer(size = 0, buffer = NULL)
198 - glsl: Fix gl_NormalMatrix swizzle setup to match i965's invariants.
199
200 Henri Verbeet (6):
201
202 - mesa: Also set the remaining draw buffers to GL_NONE when updating
203 just the first buffer in \_mesa_drawbuffers().
204 - r600g: Support the PIPE_FORMAT_R16_FLOAT colorformat.
205 - mesa: Check the texture against all units in
206 unbind_texobj_from_texunits().
207 - mesa: Allow sampling from units >= MAX_TEXTURE_UNITS in shaders.
208 - mesa: Use the Elements macro for the sampler index assert in
209 validate_samplers().
210 - mesa: Fix a couple of TexEnv unit limits.
211
212 Ian Romanick (17):
213
214 - mesa: Add utility function to get base format from a GL compressed
215 format
216 - mesa: Return the correct internal fmt when a generic compressed fmt
217 was used
218 - mesa: Make \_mesa_get_compressed_formats match the texture
219 compression specs
220 - linker: Make linker_error set LinkStatus to false
221 - linker: Make linker_{error,warning} generally available
222 - mesa: Ensure that gl_shader_program::InfoLog is never NULL
223 - ir_to_mesa: Use Add linker_error instead of fail_link
224 - ir_to_mesa: Emit warnings instead of errors for IR that can't be
225 lowered
226 - i915: Fail without crashing if a Mesa IR program uses too many
227 registers
228 - i915: Only emit program errors when INTEL_DEBUG=wm or
229 INTEL_DEBUG=fallbacks
230 - mesa: Add GL_OES_compressed_paletted_texture formats to
231 \_mesa_is_compressed_format
232 - mesa: Add GL_OES_compressed_paletted_texture formats to
233 \_mesa_base_tex_format
234 - mesa: Refactor expected texture size check in cpal_get_info
235 - mesa: Add \_mesa_cpal_compressed_format_type
236 - mesa: Refactor compressed texture error checks to work with paletted
237 textures
238 - mesa: Remove redundant compressed paletted texture error checks
239 - mesa: Advertise GL_OES_compressed_paletted_texture in OpenGL ES1.x
240
241 Jeremy Huddleston (3):
242
243 - apple: Silence some debug spew
244 - apple: Use the correct (OpenGL.framework) glViewport and glScissor
245 during init
246 - apple: Implement applegl_unbind_context
247
248 José Fonseca (1):
249
250 - docs: Update llvmpipe docs.
251
252 Kenneth Graunke (12):
253
254 - glsl: Avoid massive ralloc_strndup overhead in S-Expression parsing.
255 - mesa: In validate_program(), initialize errMsg for safety.
256 - i965/gen5+: Fix incorrect miptree layout for non-power-of-two
257 cubemaps.
258 - i965: Use proper texture alignment units for cubemaps on Gen5+.
259 - i965: Fix incorrect maximum PS thread count shift on Ivybridge.
260 - i965: Emit depth stalls and flushes before changing depth state on
261 Gen6+.
262 - i965/fs: Allow SIMD16 with control flow on Ivybridge.
263 - i965: Allow SIMD16 color writes on Ivybridge.
264 - i965: Fix inconsistent indentation in brw_eu_emit.c.
265 - intel: Depth format fixes
266 - i965: Apply post-sync non-zero workaround to homebrew workaround.
267 - mesa/get: Move MAX_LIGHTS from GL/ES2 to GL/ES1.
268
269 Kristian Høgsberg (1):
270
271 - glx: Don't flush twice if we fallback to dri2CopySubBuffer
272
273 Marc Pignat (1):
274
275 - drisw: Fix 24bpp software rendering, take 2
276
277 Marcin Baczyński (2):
278
279 - configure: fix gcc version check
280 - configure: allow C{,XX}FLAGS override
281
282 Marcin Slusarz (3):
283
284 - nouveau: fix nouveau_fence leak
285 - nouveau: fix crash during fence emission
286 - nouveau: fix fence hang
287
288 Marek Olšák (19):
289
290 - vbo: do not call \_mesa_max_buffer_index in debug builds
291 - winsys/radeon: fix space checking
292 - r300/compiler: fix a warning that a variable may be uninitialized
293 - r300/compiler: remove an unused-but-set variable and simplify the
294 code
295 - u_vbuf_mgr: cleanup original vs real vertex buffer arrays
296 - u_vbuf_mgr: don't take per-instance attribs into acc. when computing
297 max index
298 - u_vbuf_mgr: fix max_index computation for large src_offset
299 - u_vbuf_mgr: s/u_vbuf_mgr\_/u_vbuf\_
300 - u_vbuf_mgr: remove unused flag U_VBUF_UPLOAD_FLUSHED
301 - u_vbuf_mgr: rework user buffer uploads
302 - u_vbuf_mgr: fix uploading with a non-zero index bias
303 - configure.ac: fix xlib-based softpipe build
304 - r600g: add index_bias to index buffer bounds
305 - r300g: fix rendering with a non-zero index bias in
306 draw_elements_immediate
307 - Revert "r300g: fix rendering with a non-zero index bias in
308 draw_elements_immediate"
309 - pb_bufmgr_cache: flush cache when create_buffer fails and try again
310 - r300g: don't return NULL in resource_from_handle if the resource is
311 too small
312 - r600g: set correct tiling flags in depth info
313 - r300g: don't call u_trim_pipe_prim in r300_swtcl_draw_vbo
314
315 Michel Dänzer (4):
316
317 - st/mesa: Finalize texture on render-to-texture.
318 - glx/dri2: Don't call X server for SwapBuffers when there's no back
319 buffer.
320 - gallium/util: Add macros for converting from little endian to CPU
321 byte order.
322 - r300g: Fix queries on big endian hosts.
323
324 Neil Roberts (1):
325
326 - meta: Fix saving the active program
327
328 Paul Berry (18):
329
330 - glsl: Lower unconditional return statements.
331 - glsl: Refactor logic for determining whether to lower return
332 statements.
333 - glsl: lower unconditional returns and continues in loops.
334 - glsl: Use foreach_list in lower_jumps.cpp
335 - glsl: In lower_jumps.cpp, lower both branches of a conditional.
336 - glsl: Lower break instructions when necessary at the end of a loop.
337 - glsl: improve the accuracy of the radians() builtin function
338 - glsl: improve the accuracy of the atan(x,y) builtin function.
339 - Revert "glsl: Skip processing the first function's body in
340 do_dead_functions()."
341 - glsl: Emit function signatures at toplevel, even for built-ins.
342 - glsl: Constant-fold built-in functions before outputting IR
343 - glsl: Check array size is const before asserting that no IR was
344 generated.
345 - glsl: Perform implicit type conversions on function call out
346 parameters.
347 - glsl: Fix type error when lowering integer divisions
348 - glsl: Rework oversize array check for gl_TexCoord.
349 - glsl: Remove field array_lvalue from ir_variable.
350 - glsl hierarchical visitor: Do not overwrite base_ir for parameter
351 lists.
352 - glsl: improve the accuracy of the asin() builtin function.
353
354 Tobias Droste (1):
355
356 - r300/compiler: simplify code in peephole_add_presub_add
357
358 Tom Fogal (1):
359
360 - Only use gcc visibility support with gcc4+.
361
362 Tom Stellard (1):
363
364 - r300/compiler: Fix regalloc for values with multiple writers
365
366 Vadim Girlin (5):
367
368 - st/mesa: flush bitmap cache on query and conditional render
369 boundaries
370 - r600g: use backend mask for occlusion queries
371 - r600g: take into account force_add_cf in pops
372 - r600g: fix check_and_set_bank_swizzle
373 - r600g: fix replace_gpr_with_pv_ps
374
375 Yuanhan Liu (17):
376
377 - i965: fix the constant interp bitmask for flat mode
378 - mesa: fix error handling for glEvalMesh1/2D
379 - mesa: fix error handling for some glGet\* functions
380 - mesa: fix error handling for glTexEnv
381 - mesa: fix error handling for glIsEnabled
382 - mesa: fix error handling for glPixelZoom
383 - mesa: fix error handling for glSelectBuffer
384 - mesa: fix error handling for glMapBufferRange
385 - mesa: fix error handling for glMaterial\*
386 - intel: fix the wrong code to detect null texture.
387 - mesa: add a function to do the image data copy stuff for
388 save_CompressedTex(Sub)Image
389 - i965: setup address rounding enable bits
390 - mesa: generate error if pbo offset is not aligned with the size of
391 specified type
392 - mesa: fix inverted pbo test error at \_mesa_GetnCompressedTexImageARB
393 - mesa: handle the pbo case for save_Bitmap
394 - mesa: handle PBO access error in display list mode
395 - intel: don't call unmap pbo if pbo is not mapped