summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-06-13docs: Add change log to 7.10.3 release notesmesa-7.10.3Ian Romanick1-1/+204
2011-06-13docs: Add list of bugs fixed in 7.10.3 releaseIan Romanick1-0/+39
2011-06-13mesa: Regenerate parser files from previous two commitsIan Romanick2-545/+589
2011-06-13mesa: Add support for OPTION ATI_draw_buffers to ARB_fp.Eric Anholt1-0/+10
Tested by piglit ati_draw_buffers-arbfp. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit fb6e39737a24f9652b6cdc10067736b8915c61f9)
2011-06-13mesa: Add support for the ARB_fragment_program part of ARB_draw_buffers.Eric Anholt2-0/+30
Fixes fbo-drawbuffers-arbfp. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34321 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 28cec9e832b716b84c11ddabfcee74e0daf6ec49)
2011-06-12wgl: Don't hold on to user supplied HDC.José Fonseca3-23/+22
Certain applications (e.g., Bernina My Label, and the Windows implementation of Processing language) destroy the device context used when creating the frame-buffer, causing presents to fail because we were still referring to the old device context internally. This change ensures we always use the same HDC passed to the ICD entry-points when available, or our own HDC when not available (necessary only when flushing on single buffered visuals).
2011-06-12st/wgl: Remove buggy assertion.José Fonseca1-2/+0
The assertion is wrong, now that state tracker can cope with a window with zero width or height.
2011-06-12st/wgl: Allow to create pbuffers bigger than the desktop.José Fonseca1-1/+25
We use a hidden window for pbuffer contexts, but Windows limits window sizes to the desktop size by default. This means that creating a big pbuffer on a small resolution single monitor would truncate the pbuffer size to the desktop. This change overrides the windows maximum size, allow to create windows arbitrarily large.
2011-06-12st/wgl: Cope with zero width/height windows.José Fonseca1-12/+38
While ensuring the framebuffer area is never zero.
2011-06-12st/wgl: Prevent spurious framebuffer sizes when the window is minimized.José Fonseca1-5/+12
When the window is minimized GetClientRect will return zeros. Instead of creating a 1x1 framebuffer, simply preserve the current window size, until the window is restored or maximized again.
2011-06-12st/wgl: Fix debug output format specifiers of stw_framebuffer_get_size().José Fonseca1-3/+3
2011-06-12st/wgl: Adjust the pbuffer invisible window size.José Fonseca1-8/+53
Thanks to Brian Paul for diagnosing the issue.
2011-06-12gallivm: Fix for dynamically linked LLVM 2.8 library.José Fonseca1-2/+12
This prevents the error prog: for the -disable-mmx option: may only occur zero or one times! when creating a new context after XCloseDisplay with DRI drivers linked with a shared LLVM 2.8 library.
2011-06-12gallivm: Tell LLVM to not assume a 16-byte aligned stack on x86.José Fonseca1-0/+13
Fixes fdo 36738.
2011-06-11osmesa: Fix missing symbols when GLX_INDIRECT_RENDERING is defined.Jeremy Huddleston1-0/+28
When GLX_INDIRECT_RENDERING is defined, some symbols are used in libglapi.a but are not defined. Define them through the help of glapitemp.h. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Chia-I Wu <olvaffe@gmail.com> (cherry picked from commit 0e8d045bf8bc930576cc69b9de8a31a4c973dc7c)
2011-06-12mesa: return after invalidating renderbufferMarek Olšák1-0/+1
(cherry picked from commit a674ef7814ea16622b6002009ffe27a55cb500bf)
2011-06-12mesa: invalidate framebuffer if internal format of renderbuffer is changedMarek Olšák2-6/+31
RenderTexture doesn't have to be called in invalidate_rb, I guess. (cherry picked from commit df818d572e4ddb1ceccd22a538bf98ce01caffee)
2011-06-12mesa: fix up assertion in _mesa_source_buffer_existsMarek Olšák1-0/+2
This was probably missed when implementing luminance and luminance alpha render targets. _mesa_get_format_bits checks for both GL_*_BITS and GL_TEXTURE_*_SIZE. This fixes: main/framebuffer.c:892: _mesa_source_buffer_exists: Assertion `....' failed. (cherry picked from commit c0110d5450f2d4722652728a6b30bc9ae6b81c60)
2011-06-12st/mesa: fix compressed mipmap generation.Dave Airlie1-6/+4
If the underlying transfer had a stride wider for hw alignment reasons, the mipmap generation would generate badly strided images. this fixes a few problems I found while testing r600g with s3tc Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit fdb4373a2083ccd0363737fade295b0bedaf9f50 by Marek) This fixes the DXT1 tests from fbo-generatemipmap-formats on some drivers.
2011-06-12mesa: Ignore blits to/from missing buffersIan Romanick1-8/+37
The EXT_framebuffer_object spec (and later specs) say: "If a buffer is specified in <mask> and does not exist in both the read and draw framebuffers, the corresponding bit is silently ignored." Check for color, depth, and stencil that the source and destination FBOs have the specified buffers. If the buffer is missing, remove the bit from the blit request mask and continue. Fixes the crash in piglit test 'fbo-missing-attachment-blit from', and fixes 'fbo-missing-attachment-blit es2 from'. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37739 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> NOTE: This is a candidate for the stable branches. (cherry picked from commit bb4758669c82f8979a56524db1c04ce662c783d8 by Marek)
2011-06-12mesa: Don't try to clear a NULL renderbufferIan Romanick1-0/+8
In an ES2 context (or if GL_ARB_ES2_compatibility) is supported, the framebuffer can be complete with some attachments be missing. In this case the _ColorDrawBuffers pointer will be NULL. Fixes the crash in piglit test fbo-missing-attachment-clear. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37739 Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> NOTE: This is a candidate for the stable branches. (cherry picked from commit 7f9c17aaa82f5a8a1d5f077eba4d5889d3c3b298 by Marek)
2011-06-11st/mesa: remove asserts in st_texture_image_copyMarek Olšák1-4/+0
This is for 7.10 only. The fix in master looks too complex to be cherry-picked. The assertions fail when generating mipmaps for NPOT textures. This fixes: - fbo-generatemipmap-formats Reviewed-by: Brian Paul <brianp@vmware.com>
2011-06-10mesa: bump version to 7.10.3Brian Paul3-4/+4
2011-06-10docs: 7.10.3 release notes skeleton file, linksBrian Paul3-0/+64
2011-06-10mesa: add include/c99/*.h files to tarballsBrian Paul1-0/+1
See https://bugs.freedesktop.org/show_bug.cgi?id=36238 NOTE: This is a candidate for the 7.10 branch.
2011-06-10st/mesa: fix software accum buffer format bugBrian Paul1-3/+9
2011-06-10vbo: remove node->count > 0 test in vbo_save_playback_vertex_list()Brian Paul1-9/+11
See piglit dlist-fdo31590.c test and http://bugs.freedesktop.org/show_bug.cgi?id=31590 In this case we had node->prim_count=1 but node->count==0 because the display list started with glBegin() but had no vertices. The call to glEvalCoord1f() triggered the DO_FALLBACK() path. When replaying the display list, the old condition basically no-op'd the call to vbo_save_playback_vertex_list call(). That led to the invalid operation error being raised in glEnd(). NOTE: This is a candidate for the 7.10 branch. (cherry picked from commit 62811057f41bf7c027da6156a44383266c7f3952)
2011-06-10vbo: check array indexes to prevent negative indexingBrian Paul2-10/+13
See the piglit dlist-fdo31590.c test NOTE: This is a candidate for the 7.10 branch. (cherry picked from commit f1cdce95f606584a56eabf3b38eea19ff4c75757)
2011-06-10draw: fix edge flag handling in clipper (for unfilled tris/quads/polygons)Brian Paul1-5/+57
Previously, we were errantly drawing some interior edges of clipped polygons and quads. Also, we were introducing extra edges where polygons intersected the view frustum clip planes. The main problem was that we were ignoring the edgeflags encoded in the primitive header's 'flags' field which are set during polygon/quad ->tri decomposition. We need to observe those during clipping. Since we can't modify the existing vert's edgeflag fields, we need to store them in a parallel array. Edge flags also need to be handled differently for view frustum planes vs. user-defined clip planes. In the former case we don't want to draw new clip edges but in the later case we do. This matches NVIDIA's behaviour and it just looks right. Finally, note that the LLVM draw code does not properly set vertex edge flags. It's OK on the regular software path though. (cherry picked from commit f6572017b94a137a4102342ebf6cd20dedc90271)
2011-06-10st/mesa: fix incorrect texture level/face/slice accessesBrian Paul2-10/+17
If we use FBOs to access mipmap levels with glRead/Draw/CopyPixels() we need to be sure to access the correct mipmap level/face/slice. Before, we were just passing zero in quite a few places. This fixes the new piglit fbo-mipmap-copypix test. NOTE: This is a candidate for the 7.10 branch. (cherry picked from commit bf14ab417c6638afd19206e11ee69bdb9fb93d9e) Conflicts: src/mesa/state_tracker/st_cb_drawpixels.c
2011-06-10mesa: check that flex/bison are installedBrian Paul4-4/+16
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=36651 NOTE: This is a candidate for the 7.10 branch. (cherry picked from commit de1df26b5c11a45f2b1ff2ddc7b8ec764356aa94)
2011-06-10mesa: add some missing GLAPIENTRY keywordsBrian Paul1-8/+8
NOTE: this is a candidate for the 7.10 branch. (cherry picked from commit 355944087365a963d01deb5fcd6727dfd5360470)
2011-06-10r300g: clear can be killed by render conditionMarek Olšák3-7/+35
Fixes piglit: - NV_conditional_render/clear (cherry picked from commit 76056510bcd35b6b5607b572c0c0ff47b5c5e7e2) Conflicts: src/gallium/drivers/r300/r300_blit.c
2011-06-10r300g: fix occlusion queries when depth test is disabled or zbuffer is missingMarek Olšák2-4/+29
From now on, depth test is always enabled in hardware. If depth test is disabled in Gallium, the hardware Z function is set to ALWAYS. If there is no zbuffer set, the colorbuffer0 memory is set as a zbuffer to silence the CS checker. This fixes piglit: - occlusion-query-discard - NV_conditional_render/bitmap - NV_conditional_render/drawpixels - NV_conditional_render/vertex_array (cherry picked from commit f76787b3eae3f0b8af839fabfb24b57715a017f6) Conflicts: src/gallium/drivers/r300/r300_state.c Squashed with cherry-picked b1246cf13bc4e301b499a95d33e0cab26655fed5.
2011-06-09r300g: fix texturing with non-3D textures and wrap R mode set to sample borderMarek Olšák1-0/+6
If the wrap R (3rd) mode is set to CLAMP or CLAMP_TO_BORDER and the texture isn't 3D, r300 always samples the border color regardless of texture coordinates. I HATE THIS HARDWARE. NOTE: This is a candidate for the 7.10 branch. (cherry picked from commit da8b4c07986e202b0596b729a5eec31c9aec5fcc) Conflicts: src/gallium/drivers/r300/r300_state_derived.c
2011-06-09r300g: fix draw_vbo splitting on r3xx-r4xxMarek Olšák1-2/+11
NOTE: This is a candidate for the 7.10 branch. (cherry picked from commit 578d4539ba72a9f52e0cb3f615bb04bf9407b574) Conflicts: src/gallium/drivers/r300/r300_render.c
2011-06-07darwin: Fix VG_LIB_GLOB to also match the unversioned symlinkJeremy Huddleston1-1/+1
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit 6ea70600b9dc76662360eddb41ff658e8ee1aaff)
2011-06-07darwin: Don't link against libGL when building libOSMesaJeremy Huddleston1-1/+1
Everything should be resolved through glapi. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit cebdffaa2a11ef499383a17956c936791e284343)
2011-06-06darwin: Set VG_LIB_{NAME,GLOB} to fix make installJeremy Huddleston1-10/+12
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit 22c320aa2c459474a0d220a40b849bf7e4864251)
2011-06-06apple: Package applegl source into MesaLib tarballJeremy Huddleston1-0/+12
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit e5d241ddb231758e0a0f41eee28435d170d583c0)
2011-06-06darwin: Define GALLIUM_DRIVERS_DIRS in darwin configJeremy Huddleston1-0/+2
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit d563009cd1134557178ddddc29d45b664e58bbed)
2011-06-06apple: Fix build failures in applegl_glx.cJeremy Huddleston2-17/+31
See https://bugs.freedesktop.org/show_bug.cgi?id=29162 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> This commit squashes three cherry-picks: (cherry picked from commit 5d35343d12ab462100c9eec50a579b73463e465a) (cherry picked from commit 7c5f37c032231ad144a8a5c5a0b18f3e26c0aea7) (cherry picked from commit 2ee5272e1671aff8c8d9e0c12bf37ed006717283)
2011-06-06apple: Build darwin using applegl rather than indirectJeremy Huddleston3-3/+20
This reverts portions of 6849916170c0275c13510251a7b217c20f2b993e that caused the darwin config to fail to build due to missing implementations in that commit. See https://bugs.freedesktop.org/show_bug.cgi?id=29162 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit 1885cf27c9c4642a049c60a8236cb84735cb9eba)
2011-06-06glx: Dead code removalJeremy Huddleston1-2/+0
Remove a redundant ifndef GLX_USE_APPLEGL Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit 3843bbcb4ca4de232dbae6ba3ae619ddfc93508b)
2011-06-06apple: ifdef out come glapi-foo on darwinJeremy Huddleston1-0/+4
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit 8593bb32eae5368c1ba52504133b0bf200bf8e74)
2011-06-06apple: Change from XExtDisplayInfo to struct glx_displayJeremy Huddleston1-4/+6
Fixes regression introduced by: ab434f6b7641a64d30725a9ac24929240362d466 and c356f5867f2c1fad7155df538b9affa8dbdcf869 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit 7cdf969527fa6d753ad2eb3dd971fe16725eb440)
2011-06-06apple: Rename GLXcontextJeremy Huddleston1-1/+1
Fixes regression introduced by: c356f5867f2c1fad7155df538b9affa8dbdcf869 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit 279e471750e3ee6a4841ebf16ef2d038e1c12077)
2011-06-06apple: Rename _gl_context_modes_find_visual to glx_config_find_visualJeremy Huddleston1-1/+1
Fixes regression introduced by: 6ddf66e9230ee862ac341c4767cf6b3b2dd2552b Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit b7f0ed8444544b7fc927823a903db93ebf723cad)
2011-06-06apple: Re-add driContext and do_destroyJeremy Huddleston1-0/+5
Fixes regression introduced by: c491e585e43d48a2aeec96ccc4008da6c443fb42 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit 488d6c739f5b6cdfa2c670322057c699644d4e52)
2011-06-06apple: Rename GLXcontextJeremy Huddleston4-6/+6
Fixes regression introduced by: c356f5867f2c1fad7155df538b9affa8dbdcf869 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit 22613d1670e3aafcfd3b95191b908a0adabe3eb9)