summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* gallium: change remaining util functions to use cso sampler viewsRoland Scheidegger2010-03-162-8/+21
| | | | | changes arguments of util_blit_pixels_tex and util_gen_mipmap to struct pipe_sampler_view * instead of struct pipe_texture *.
* Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell2010-03-1610-9/+881
|\ | | | | | | | | | | | | This branch already seems to have the nv50_tex.c fix. Conflicts: src/gallium/drivers/nv50/nv50_tex.c
| * Merge remote branch 'origin/gallium-st-api'Chia-I Wu2010-03-1610-9/+881
| |\
| | * st/mesa: Update the comments in st_manager.c.Chia-I Wu2010-03-151-4/+7
| | |
| | * st/mesa: Fix handling of FBO.Chia-I Wu2010-03-141-16/+24
| | | | | | | | | | | | | | | FBOs are created by st_new_framebuffer and cannot be casted to st_framebuffer.
| | * st/mesa: Validate the state in st_readpixels.Chia-I Wu2010-03-131-0/+3
| | | | | | | | | | | | | | | | | | | | | 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.
| | * st/mesa: Set revalidate in st_framebuffer_update_attachments.Chia-I Wu2010-03-131-1/+2
| | | | | | | | | | | | | | | | | | 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.
| | * st/mesa: Check the format before adding depth/stencil buffers.Chia-I Wu2010-03-121-3/+9
| | | | | | | | | | | | | | | The format might have depth bits, stencil bits, or both. Add the renderbuffers as needed.
| | * st/mesa: Implement st_api.h.Chia-I Wu2010-03-129-9/+860
| | | | | | | | | | | | | | | | | | | | | | | | There is currently no user of this new interface. As the inteface can coexist with st_public.h, everthing should work as before. ST_TEXTURE_2D is both defined by st_public.h and st_api.h. Reorder the headers in st/dri to avoid conflicts.
* | | st/mesa: Fix a call to st_get_stobj_sampler_view().Michal Krol2010-03-151-1/+1
| | |
* | | st/mesa: Pass in correct sampler view object to blitter.Michal Krol2010-03-151-1/+1
| | |
* | | gallium: util_blit_pixels() takes source sampler view as argument.Michal Krol2010-03-152-5/+12
| | |
* | | st/mesa: Cache FBO texture's sampler view object.Michal Krol2010-03-154-0/+31
| | |
* | | Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell2010-03-1522-321/+882
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | 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
| * | dri/common: mv __driUtilMessage to utils.cGeorge Sapountzis2010-03-156-31/+29
| | | | | | | | | | | | allows to link with xmlconfig without dri_util, and has nothing drm-specific.
| * | dri/swrast: add comment in case it's not clearGeorge Sapountzis2010-03-151-2/+2
| | |
| * | dri/swrast: drop mtypes.h from dri_swGeorge Sapountzis2010-03-151-1/+1
| | |
| * | dri/swrast: update copyright emailGeorge Sapountzis2010-03-153-11/+3
| | |
| * | dri/swrast: port to dri_sw (drawable)George Sapountzis2010-03-154-22/+60
| | |
| * | dri/swrast: port to dri_sw (context)George Sapountzis2010-03-155-22/+58
| | |
| * | dri/swrast: port to dri_swGeorge Sapountzis2010-03-153-180/+100
| | |
| * | dri: add dri_sw.c helperGeorge Sapountzis2010-03-152-0/+382
| | | | | | | | | | | | | | | This is dri_util.c stripped from the drm-specific bits and will be used for both classic and gallium swrast_dri.so
| * | glapi: exec_malloc for dispatch stubsGeorge Sapountzis2010-03-146-8/+156
| | |
| * | glapi: this one should be by THREADGeorge Sapountzis2010-03-141-6/+4
| | |
| * | glapi: more organize code by archGeorge Sapountzis2010-03-141-4/+10
| | | | | | | | | | | | | | | | | | 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.
| * | glapi: organize arch-specific code by arch (2)George Sapountzis2010-03-141-81/+73
| | |
| * | glapi: organize arch-specific code by archGeorge Sapountzis2010-03-141-19/+50
| | |
| * | radeon: add some debuging info for glCopyTex(Sub)ImageMaciej Cencora2010-03-131-1/+7
| | |
| * | r300: blits for small dst pitch work just fineMaciej Cencora2010-03-131-6/+0
| | |
| * | radeon: fix gl format to mesa format mapping and add GL_BGRA formatsMaciej Cencora2010-03-131-7/+18
| | |
| * | radeon: fix glCopyTex(Sub)ImageMaciej Cencora2010-03-131-2/+11
| | | | | | | | | | | | Fallback to swrast for software renderbuffers
* | | Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell2010-03-1374-1024/+1006
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Revert "st/mesa: Always recalculate invalid index bounds."Corbin Simpson2010-03-121-3/+3
| | | | | | | | | | | | | | | | | | This reverts commit 50876ddaaff72a324ac45e255985e0f84e108594. Per ML discussion.
| * | i965: Clarify the roles of emit_pixel_xy(), emit_delta_xy(), emit_wpos_xy().Eric Anholt2010-03-121-7/+19
| | |
| * | i965: Clarify that DELTAXY always occurs for both X and Y.Eric Anholt2010-03-121-14/+13
| | |
| * | i965: Do FS SLT, SGT, and friends using CMP, SEL instead of CMP, MOV, MOV.Eric Anholt2010-03-121-5/+2
| | |
| * | i965: Do VS SGT, SLT, and friends using CMP, SEL instead of CMP, MOV, MOV.Eric Anholt2010-03-121-3/+2
| | |
| * | i965: Fix up VS DP4 sequences to avoid dependency control.Eric Anholt2010-03-124-0/+123
| | | | | | | | | | | | | | | This is recommended by the B-Spec. I wasn't able to measure any difference in ETQW.
| * | i965: When doing a swizzled kill pixel, don't do redundant channel compares.Eric Anholt2010-03-121-4/+12
| | | | | | | | | | | | | | | This was obvious when looking at the compiled output of ETQW's shaders.
| * | i965: Use the SEL instruction to implement MIN and MAX.Eric Anholt2010-03-121-11/+3
| | | | | | | | | | | | Saves an instruction over doing conditional moves.
| * | Merge branch '7.8'Michel Dänzer2010-03-1221-87/+49
| |\ \
| | * | dri/r700: include shader/programopt.h instead of programopt.c.Luc Verhaegen2010-03-121-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Brian Paul <brianp@vmware.com>
| | * | Grammar and spelling fixesJeff Smith2010-03-1216-18/+18
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
| | * | radeon: Fix memory leaks from early return.Vinson Lee2010-03-111-0/+2
| | | |
| | * | st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/Brian Paul2010-03-111-1/+1
| | | |
| | * | st/mesa: fix st_set_framebuffer_surface() state validationBrian Paul2010-03-111-38/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the _NEW_BUFFERS flag and remove the code which updated the parent framebuffer size. Normal Mesa state validation will do that. Fixes issues with Warsow on r300g and possibly other bugs.
| | * | ARB prog parser: added (float) casts and regenerate filesBrian Paul2010-03-112-30/+16
| | | |
| * | | r100/r200/r300/r300: only enable accelerated pixel ops with kmsAlex Deucher2010-03-1210-22/+30
| | | | | | | | | | | | | | | | fixes fdo bug 27043
| * | | gallium: fix BGRA vertex color swizzlesMarek Olšák2010-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | st/mesa: Always recalculate invalid index bounds.Corbin Simpson2010-03-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.