- Sep 24, 2012
-
-
http://xquartz.macosforge.org/trac/ticket/536 Signed-off-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com> (cherry picked from commit 5fdf1f78)
-
- May 17, 2012
-
-
Jeremy Huddleston Sequoia authored
Introduced by: c60ffd28 Signed-off-by:
Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit d65bd195)
-
Jeremy Huddleston Sequoia authored
http://xquartz.macosforge.org/trac/ticket/575 Signed-off-by:
Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit a73a800b)
-
- Apr 24, 2012
-
-
Jeremy Huddleston Sequoia authored
Signed-off-by:
Jeremy Huddleston <jeremyhu@apple.com> Tested-by:
Charles Davis <cdavis@mines.edu> (cherry picked from commit 1a33c1b2)
-
- Apr 23, 2012
-
-
Reviewed-by:
Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit c60ffd28)
-
The __glapi_gentable_set_remaining_noop() routine treats the _glapi_struct as an array of _glapi_get_dispatch_table_size() pointers, so we have to allocate _glapi_get_dispatch_table_size()*sizeof(void*) bytes rather than sizeof(struct _glapi_struct) bytes. Reviewed-by:
Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit 8d09f4d0)
-
- Jan 27, 2012
-
-
Jeremy Huddleston Sequoia authored
We just prefix the $CLANG environment variable in configure.ac with acv_mesa_ Found by: tinderbox Signed-off-by:
Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit b728eefb)
-
- Jan 19, 2012
-
-
Anuj Phogat authored
TestMipMaps() function in src/OGLconform/textureNPOT.c calls glTexImage2D() with width = 0. Texture with zero size skips miptree allocation due to a condition in function _mesa_store_teximage3d(). While calling glGetTexImage() it results in assertion failure in intel_map_texture_image() due to null mt pointer. This patch fixes the issue by detecting the zero size texture early in glGetTexImage and glGetCompressedTexImage functions. In such a case function simply returns doing nothing. Verified that below mentioned bug is fixed by this patch. https://bugs.freedesktop.org/show_bug.cgi?id=42334 NOTE: This is a candidate for stable branches Signed-off-by:
Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by:
Brian Paul <brianp@vmware.com> (cherry picked from commit f1a9a9bc) Conflicts: src/mesa/main/teximage.h
-
Anuj Phogat authored
Calling glXSwapBuffers with no bound context causes segmentation fault in function intelDRI2Flush. All the gl calls should be ignored after setting the current context to null. So the contents of framebuffer stay unchanged. But the driver should not seg fault. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44614 Reported-by:
Yi Sun <yi.sun@intel.com> Signed-off-by:
Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Tested-by:
Yi Sun <yi.sun@intel.com> (cherry picked from commit dd722065) Conflicts: src/mesa/drivers/dri/intel/intel_screen.c
-
Vinson Lee authored
NOTE: This is a candidate for stable release branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42542 Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 3e18ad7f)
-
Paul Berry authored
Commit 9bdc44a5 (i965: Replace struct with bit shifting for WM pull constant surfaces) accidentally introduced off-by-one errors into the calculation of the surface width, height, and depth. This patch restores the correct computation. The reason this wasn't noticed by Piglit tests is that the size of our constant surfaces is always less than 2^20, therefore the off-by-one error was causing the "depth" field of the surface to be set to all 1's. The hardware interpreted this as an extremely large surface, so overflow checking was effectively disabled. No Piglit regressions on Sandy Bridge. NOTE: This is a candidate for the 7.11 and 8.0 branches. Reviewed-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit f6f43bd5)
-
- Jan 16, 2012
-
- Jan 04, 2012
-
-
Ian Romanick authored
Other parts of the compiler assume that expressions will have well-formed types or the error type. Just using the type of the thing being operated on can cause expressions like ~3.14 or ~false to not have a well-formed type. This could then result in an assertion failure in the context epxression handler. If there is an error processing the expression, set the type of the IR expression to error. Fixes piglit's bit-not-0[789].frag tests. NOTE: This is a candidate for the 7.11 branch. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42755 Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Cc: Vinson Lee <vlee@vmware.com> (cherry picked from commit 39464489)
-
Ian Romanick authored
This prevents other code from seeing a swizzle of the 16th component of a vector, for example. NOTE: This is a candidate for the 7.11 branch. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42517 Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Paul Berry <stereotype441@gmail.com> Tested-by:
Christian Holler <choller@mozilla.com> (cherry picked from commit 6f5c7379)
-
- Dec 23, 2011
-
-
Ian Romanick authored
glsl: Silence "ast_to_hir.cpp:1984:25: warning: comparison of unsigned expression >= 0 is always true" ast_type_qualifier::location should have been a signed integer from the beginning, and the giant comment in apply_type_qualifier_to_variable explains why. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40207 Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit f0dd21ac)
-
- Dec 11, 2011
-
-
Marcin Ślusarz authored
-
Context may become NULL and we still have to be able to flush pending fences. (Cherry picked from commit 3069a7ea) Fixes crash on screen shutdown: https://bugs.freedesktop.org/show_bug.cgi?id=43428
-
- Dec 05, 2011
-
-
Brian Paul authored
https://bugs.freedesktop.org/show_bug.cgi?id=41065 (cherry picked from commit 51002968)
-
LLVM 3.0svn added SubtargetInfo as additional parameter to createMCDisassembler() and createMCInstPrinter(). See revision 139237 of LLVM. Signed-off-by:
Tobias Droste <tdroste@gmx.de> Signed-off-by:
Brian Paul <brianp@vmware.com> (cherry picked from commit 1795372f)
-
LLVM 3.0svn moved TargetRegistry.h and TargetSelect.h. See revision 138450 of LLVM. Signed-off-by:
Tobias Droste <tdroste@gmx.de> (cherry picked from commit 4a468de2)
-
LLVM 3.0svn introduced a new type system. It defines a new way to create named structs and removes the (now not needed) LLVMInvalidateStructLayout function. See revision 134829 of LLVM. Signed-off-by:
Tobias Droste <tdroste@gmx.de> Signed-off-by:
Brian Paul <brianp@vmware.com> (cherry picked from commit 3143e953)
-
llvm-3.0svn r135219 renamed createAsmInfo to createMCAsmInfo in include/llvm/Target/TargetRegistry.h. (cherry picked from commit 9228bfb3)
-
LLVMUnionTypeKind is not in llvm-2.6, llvm-2.8, llvm-2.9, or llvm-3.0svn. (cherry picked from commit 1844ae7e)
-
llvm-3.0svn r134829 removed LLVMOpaqueKindType from enum LLVMTypeKind in include/llvm-c/Core.h. (cherry picked from commit e4189f2e)
-
llvm-3.0svn revision 134021 renamed TargetInstrDesc to MCInstrDesc. (cherry picked from commit b61e5675)
-
- Nov 28, 2011
-
-
Brian Paul authored
-
- Nov 27, 2011
-
-
Ian Romanick authored
-
Ian Romanick authored
-
- Nov 22, 2011
-
-
Lina Versace authored
intelAllocateBuffer() was oblivious to separate stencil buffers. This patch fixes it to allocate a non-tiled stencil buffer with special pitch, just as the DDX does. Without this, any app that attempted to create an EGL surface with stencil bits would crash. Of course, this affected only environments that used the builtin DRI2 backend, such as Android and Wayland. Fixes GLBenchmark2.1 on Android on gen7. Note: This is a candidate for the 7.11 branch. Tested-by:
Louie Tsaie <louie.tsai@intel.com> Signed-off-by:
Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 79653c12) Conflicts: src/mesa/drivers/dri/intel/intel_screen.c
-
Lina Versace authored
I changed the dimensions of the stencil buffer's region, as allocated by the DDX, at xf86-video-intel commit commit 3e55f3e88b40471706d5cd45c4df4010f8675c75 dri: Do not tile stencil buffer But I forgot to make the analogous update to the Intel DRI2 glue in Mesa. This patch makes that update. Surprisingly, the mismatch did not cause any bugs. But the mismatch, if left unfixed, *would* create bugs in the next commit. Note: This is a candidate for the 7.11 branch. Signed-off-by:
Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit 50b33560)
-
Lina Versace authored
When calculating the y offset needed for detiling window system stencil buffers, replace the term region->height * 2 + region->height % 2 - 1 with rb->Height - 1 . The two terms are incidentally equivalent due to some out-of-date, incorrect code in the Intel DRI2 glue for DDX. (See intel_process_dri2_buffer_with_separate_stencil(), line ``buffer_height /= 2;``). Note: This is a candidate for the 7.11 branch (only the intel_span.c hunk). Signed-off-by:
Chad Versace <chad.versace@linux.intel.com> (cherry picked from commit dc4c3a31) Conflicts: src/mesa/drivers/dri/intel/intel_fbo.c src/mesa/drivers/dri/intel/intel_span.c
-
- Nov 21, 2011
-
-
(cherry picked from commit 5485192f)
-
Brian Paul authored
-
- Nov 18, 2011
-
-
Brian Paul authored
When we do a glReadPixels into the temporary buffer, we don't want to use GL_LUMINANCE, GL_LUMINANCE_ALPHA or GL_INTENSITY since they will compute L=R+G+B which is not what we want. This bug has existed all along but was only exposed by the elimination of the driver hook for glCopyTexImage() in 5874890c. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39604 Tested-by:
Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit e4fdc952) (cherry-pick note: This patch and the one before it combine to fix CopyTexImage from RGBA window to LA texture. This was believed to already be fixed by commit 296e6b90, but these changes were also necessary.)
-
Brian Paul authored
(cherry picked from commit 5874890c)
-
Ian Romanick authored
-
- Nov 17, 2011
-
-
Ian Romanick authored
-
Ian Romanick authored
-