summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-03-16radeon: Fix buffer object unmap to be called only once for dma buffers.Pauli Nieminen
If flush happens inside radeonRefillCurrentMaRegion the last dma buffer would be unmapped twice. Unmapping buffer when moving buffer to wait list fixes the mapping error.
2010-03-16gallium: change remaining util functions to use cso sampler viewsRoland Scheidegger
changes arguments of util_blit_pixels_tex and util_gen_mipmap to struct pipe_sampler_view * instead of struct pipe_texture *.
2010-03-16Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
This branch already seems to have the nv50_tex.c fix. Conflicts: src/gallium/drivers/nv50/nv50_tex.c
2010-03-16Merge remote branch 'origin/gallium-st-api'Chia-I Wu
2010-03-15Replace _mesa_strtod with _mesa_strtof.Marcin Baczyński
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-15st/mesa: Fix a call to st_get_stobj_sampler_view().Michal Krol
2010-03-15st/mesa: Pass in correct sampler view object to blitter.Michal Krol
2010-03-15gallium: util_blit_pixels() takes source sampler view as argument.Michal Krol
2010-03-15st/mesa: Cache FBO texture's sampler view object.Michal Krol
2010-03-15st/mesa: Update the comments in st_manager.c.Chia-I Wu
2010-03-15Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
Conflicts: src/gallium/drivers/nv30/nv30_context.h src/gallium/drivers/nv30/nv30_state.c src/gallium/drivers/nv40/nv40_context.h src/gallium/drivers/nv40/nv40_state.c src/gallium/drivers/r300/r300_emit.c
2010-03-15dri/common: mv __driUtilMessage to utils.cGeorge Sapountzis
allows to link with xmlconfig without dri_util, and has nothing drm-specific.
2010-03-15dri/swrast: add comment in case it's not clearGeorge Sapountzis
2010-03-15dri/swrast: drop mtypes.h from dri_swGeorge Sapountzis
2010-03-15dri/swrast: update copyright emailGeorge Sapountzis
2010-03-15dri/swrast: port to dri_sw (drawable)George Sapountzis
2010-03-15dri/swrast: port to dri_sw (context)George Sapountzis
2010-03-15dri/swrast: port to dri_swGeorge Sapountzis
2010-03-15dri: add dri_sw.c helperGeorge Sapountzis
This is dri_util.c stripped from the drm-specific bits and will be used for both classic and gallium swrast_dri.so
2010-03-14glapi: exec_malloc for dispatch stubsGeorge Sapountzis
2010-03-14glapi: this one should be by THREADGeorge Sapountzis
2010-03-14glapi: more organize code by archGeorge Sapountzis
It seems that x86-64 with tls will fail to compile or load due to a missining gl_dispatch_functions_start symbol. Not changing though, since this is how it used to be and cannot test.
2010-03-14glapi: organize arch-specific code by arch (2)George Sapountzis
2010-03-14glapi: organize arch-specific code by archGeorge Sapountzis
2010-03-14st/mesa: Fix handling of FBO.Chia-I Wu
FBOs are created by st_new_framebuffer and cannot be casted to st_framebuffer.
2010-03-13radeon: add some debuging info for glCopyTex(Sub)ImageMaciej Cencora
2010-03-13r300: blits for small dst pitch work just fineMaciej Cencora
2010-03-13radeon: fix gl format to mesa format mapping and add GL_BGRA formatsMaciej Cencora
2010-03-13radeon: fix glCopyTex(Sub)ImageMaciej Cencora
Fallback to swrast for software renderbuffers
2010-03-13Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
Conflicts: src/gallium/auxiliary/util/u_tile.c src/gallium/auxiliary/util/u_tile.h src/gallium/drivers/identity/id_context.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_setup.h src/gallium/drivers/softpipe/sp_tex_tile_cache.c src/gallium/include/pipe/p_context.h src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_drawpixels.c
2010-03-13st/mesa: Validate the state in st_readpixels.Chia-I Wu
The front renderbuffer of a framebuffer is usually added as needed when glReadBuffer(GL_FRONT) is called. When the call is followed by glReadPixels, we should validate the state before reading from the renderbuffer.
2010-03-13mesa: Fix memory leak in decompress-with-blit.Keith Whitwell
(cherry picked from commit f05a4ee6f2840590c90da4be2fe5c6295410a5af)
2010-03-13st/mesa: Set revalidate in st_framebuffer_update_attachments.Chia-I Wu
There are two conditions that a validation is required. One is when the the framebuffer becomes invalid. The other is when we request for textures that we did not request before.
2010-03-12Revert "st/mesa: Always recalculate invalid index bounds."Corbin Simpson
This reverts commit 50876ddaaff72a324ac45e255985e0f84e108594. Per ML discussion.
2010-03-12i965: Clarify the roles of emit_pixel_xy(), emit_delta_xy(), emit_wpos_xy().Eric Anholt
2010-03-12i965: Clarify that DELTAXY always occurs for both X and Y.Eric Anholt
2010-03-12i965: Do FS SLT, SGT, and friends using CMP, SEL instead of CMP, MOV, MOV.Eric Anholt
2010-03-12i965: Do VS SGT, SLT, and friends using CMP, SEL instead of CMP, MOV, MOV.Eric Anholt
2010-03-12i965: Fix up VS DP4 sequences to avoid dependency control.Eric Anholt
This is recommended by the B-Spec. I wasn't able to measure any difference in ETQW.
2010-03-12i965: When doing a swizzled kill pixel, don't do redundant channel compares.Eric Anholt
This was obvious when looking at the compiled output of ETQW's shaders.
2010-03-12i965: Use the SEL instruction to implement MIN and MAX.Eric Anholt
Saves an instruction over doing conditional moves.
2010-03-12Merge branch '7.8'Michel Dänzer
2010-03-12r100/r200/r300/r300: only enable accelerated pixel ops with kmsAlex Deucher
fixes fdo bug 27043
2010-03-12dri/r700: include shader/programopt.h instead of programopt.c.Luc Verhaegen
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12Grammar and spelling fixesJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12st/mesa: Associate a sampler view with an st texture object.Michal Krol
Lazily create a sampler view when the texture is being bound for the first time.
2010-03-12gallium: fix BGRA vertex color swizzlesMarek Olšák
The mapping for vertex_array_bgra: (gl -> st -> translate) GL_RGBA -> PIPE_FORMAT_R8G8B8A8 (RGBA) -> no swizzle (XYZW) GL_BGRA -> PIPE_FORMAT_A8R8G8B8 (ARGB) -> ZYXW (BGRA again??) Iẗ́'s pretty clear that PIPE_FORMAT_A8R8G8B8 here is wrong. This commit fixes the pipe format and removes obvious workarounds in util/translate. Tested with: softpipe, llvmpipe, r300g. Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-03-12st/mesa: Always recalculate invalid index bounds.Corbin Simpson
These should always be sanitized before heading towards the pipe driver, and if the calling function explicitly marked them as invalid, we need to regenerate them. Allows r300g to properly pass a bit more of Wine's d3d9 testing without dropping stuff on the floor.
2010-03-12st/mesa: Update debug infos.Corbin Simpson
Still commented out, of course.
2010-03-12Merge commit 'origin/gallium-context-transfers-2'Keith Whitwell