summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2009-06-29nouveau: Expect right params to tex_transfer_destroy().Younes Manton
Never crashed on x86, ptx is in the same stack slot in either case. Thanks to Bob Gleitsmann for catching this.
2009-06-29nouveau: Turn off debug cannon.Younes Manton
2009-06-29gallium/draw: sketch out some missing pointcoord codeBrian Paul
The gl_PointCoord attribute is currently expected to be in the fog coord register's z/w components. This was never totally fleshed out though. This is just some placeholder code.
2009-06-26cell: PIPE_CAP_TGSI_CONT_SUPPORTED queryBrian Paul
2009-06-26softpipe: PIPE_CAP_TGSI_CONT_SUPPORTED queryBrian Paul
2009-06-26gallium: added PIPE_CAP_TGSI_CONT_SUPPORTEDBrian Paul
2009-06-26tgsi: correct handling of return value from util_vsnprintfKeith Whitwell
We were failing to deal with: - vsnprintf returns negative value on error. - vsnprintf returns the number of chars that *would* have been written on truncation.
2009-06-26aux/indices: don't use 'prim' value once it is known to be badKeith Whitwell
Theoretical bugfix only - no known case where this might happen.
2009-06-24wgl: Handle flush after a window is destroyed.José Fonseca
Fixes assertion failure with conform.
2009-06-19softpipe: return alpha=1 in shadow_compare() functionBrian Paul
The alpha value wasn't set at all before so we got unpredictable results. Note that we don't currently obey GL_DEPTH_TEXTURE_MODE in the state tracker. For now, we return the result in the default mode (r,r,r,1).
2009-06-18util: Add cast.José Fonseca
It is expected to loose precision here.
2009-06-18draw: Replace pointer arithmetic with cast.José Fonseca
Using uintptr_t as intermediate type for pointer -> integer conversions is easier to understand and does not cause any size mismatch warnings. uintptr_t is part of C99, and we already provide a suitable replacement definition for all platforms we care about.
2009-06-18trace: Use size_t consistently.José Fonseca
2009-06-18pipebuffer: Use a type consistently for sizes/offsets.José Fonseca
Avoids warnings on 64bit builds. Use regular unsigned since that's what gallium expects, but use a typedef to facilitate possible changes in the future.
2009-06-18wgl: Fix window resizing in multithread applications.José Fonseca
In multithreading stw_call_window_proc can be called by a thread other than the thread where the context is bound.
2009-06-18wgl: Move all thread related code together.José Fonseca
Not only for cosmetic reasons, but also because we need to set the SetWindowsHookEx hook for threads created before the DllMain is called (threads for each we don't get the DLL_THREAD_ATTACH notification).
2009-06-17st/glx: added null ptr check in Fake_glXCreatePixmap()Brian Paul
Fixes segfault in progs/xdemos/glxgears_pixmap.c
2009-06-17wgl: Factor out some repetitive code into inline functions.José Fonseca
2009-06-16softpipe: fix out of bounds quad rasterization bugBrian Paul
For some triangles we can generate quads which lie just outside the surface bounds. Just check the quad's mask before trying to emit/process the quad. Fixes failed assertion in Lightsmark.
2009-06-16gallium: Avoid atomic ops / locking when src is dst.José Fonseca
2009-06-15python/tests: Add is_depth_stencil_format utility function.José Fonseca
2009-06-15python/tests: Cleanup texture_sample.José Fonseca
2009-06-15rtasm: Use 32bit constant.José Fonseca
As we're only using 32bit bitmasks.
2009-06-15gallium: Ensure assert macro is defined before being used in p_thread.hJosé Fonseca
2009-06-15softpipe: Fix softpipe_is_texture_referenced.José Fonseca
Render results are only visible when the render cache is flushed. softpipe_is_texture_referenced must reflect that or transfers to/from the textures bound in the framebuffer won't be proceeded of the necessary flush, causing transfer data to be outdated/clobbered. This fixes conform drawpix test with softpipe.
2009-06-15dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for ↵Thomas Hellstrom
depth- and stencil renderbuffers. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-06-15gallium: Fix segfault and valgrind error introduced with commit ↵Thomas Hellstrom
3f2e006b759705abd7c409d30f9aeb1f2a75b83f Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-06-27r300g: YCbCr and sRGB textures.Corbin Simpson
2009-06-27r300g: Fix EXT_packed_depth_stencil functionality.Corbin Simpson
Allow Z24S8 to be a true texture.
2009-06-27st/dri: Fix last depth bits logicJakob Bornecrantz
2009-06-26r300g: EXT_provoking_vertex.Corbin Simpson
2009-06-26r300g: S3TC.Corbin Simpson
tests/texcompress2 doesn't work, but tests/texcmp does (more or less.)
2009-06-26r300g: Use real texture formats.Corbin Simpson
What bugs me is that the YUV444 format somehow worked properly. :3
2009-06-26r300g: Definitively forbid unusable Z buffer/stencil formats.Corbin Simpson
2009-06-26r300g: Comment out assert for now.Corbin Simpson
Will fix with better constant refactoring later.
2009-06-26r300g: Be more specific on surface_copy fallbacks.Corbin Simpson
2009-06-26r300g: PIPE_CAP_TGSI_CONT_SUPPORTED.Corbin Simpson
2009-06-26r300-gallium: Ensure that no dirty state goes unemitted.Corbin Simpson
2009-06-26Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile src/gallium/drivers/softpipe/sp_screen.c src/mesa/main/version.h
2009-06-14Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
2009-06-14trace: Don't write state objects to file if dumping is not setJakob Bornecrantz
2009-06-26tgsi: correct handling of return value from util_vsnprintfKeith Whitwell
We were failing to deal with: - vsnprintf returns negative value on error. - vsnprintf returns the number of chars that *would* have been written on truncation.
2009-06-26r300-gallium: organize fragment/vertex shadersJoakim Sindholt
Appart from separating r3xx/r5xx fragment shaders, a more consistent naming scheme has been applied. From now on: r300 = all chips r3xx = R300/R400 only r5xx = R500 only This way r300_fragment_shader is the master struct, and the structs r3xx_fragment_shader and r5xx_fragment_shader inherits it.
2009-06-25gallium: Add PIPE_OS_APPLE token.Vinson Lee
2009-06-24Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
2009-06-24identity: Add new identity driverJakob Bornecrantz
This driver does no transformation of the gallium calls going to the real driver, like the identity matrix. It is intended to be the basis for transforming and/or debug drivers like trace and rbug. Authors of this patch are: Michal Krol, orignal heavy lifting. José Fonesca, object wrapping code stolen from trace. Jakob Bornecrantz, put it all toghether and renamed a stuff.
2009-06-22gallium-intel: Improve Xorg Makefile a bitJakob Bornecrantz
The real solution is to create a Makefile.template for xorg drivers and use that here.
2009-06-22st/xorg: Convert to template makefileJakob Bornecrantz
2009-06-22st/dri: Fix typo when checking for depth formatsJakob Bornecrantz
2009-06-19i965simple: use u_reduced_prim() functionBrian Paul