summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2010-01-16st/mesa: Remove unnecessary header from st_cb_drawpixels.c.Vinson Lee
2010-01-16st/mesa: Remove unnecessary header from st_atom_framebuffer.c.Vinson Lee
2010-01-16st/mesa: Remove unnecessary header from st_atom_pixeltransfer.c.Vinson Lee
2010-01-16st/mesa: Remove unnecessary header from st_atom_sampler.c.Vinson Lee
2010-01-16st/mesa: Remove unnecessary header from st_atom_shader.c.Vinson Lee
2010-01-16st/mesa: Remove unnecessary headers from st_cb_accum.c.Vinson Lee
2010-01-16st/mesa: Remove unnecessary headers from st_cb_bitmap.c.Vinson Lee
2010-01-15st/mesa: Remove unnecessary headers from st_cb_blit.c.Vinson Lee
2010-01-15st/mesa: Remove unnecessary headers from st_cb_clear.c.Vinson Lee
2010-01-15st/mesa: Remove unnecessary headers from st_cb_drawpixels.c.Vinson Lee
2010-01-15st/mesa: Remove unnecessary header from st_cb_fbo.c.Vinson Lee
2010-01-15st/mesa: Remove unnecessary headers from st_cb_feedback.c.Vinson Lee
2010-01-15st/mesa: Remove unnecessary header from st_cb_program.c.Vinson Lee
2010-01-15st/mesa: Remove unnecessary header from st_cb_queryobj.c.Vinson Lee
2010-01-14st/mesa: Remove unnecessary header from st_cb_rasterpos.c.Vinson Lee
2010-01-14st/mesa: Remove unnecessary headers from st_cb_readpixels.c.Vinson Lee
2010-01-14st/mesa: Remove unnecessary header from st_cb_strings.c.Vinson Lee
2010-01-14st/mesa: Remove unnecessary headers from st_cb_texture.c.Vinson Lee
2010-01-14st/mesa: Remove unnecessary headers from st_cb_viewport.c.Vinson Lee
2010-01-14st/mesa: Remove unnecessary headers from st_context.c.Vinson Lee
2010-01-14st/mesa: Remove unnecessary header from st_draw_feedback.c.Vinson Lee
2010-01-14st/mesa: Remove unnecessary header from st_extensions.c.Vinson Lee
2010-01-14st/mesa: Remove unnecessary header from st_format.c.Vinson Lee
2010-01-14st/mesa: Remove unnecessary headers from st_framebuffer.c.Vinson Lee
2010-01-14st/mesa: Remove unnecessary headers from st_gen_mipmap.c.Vinson Lee
2010-01-14Merge branch 'mesa_7_7_branch'Jakob Bornecrantz
Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
2010-01-13st/mesa: Remove unnecessary header from st_program.c.Vinson Lee
2010-01-13st/mesa: Remove unnecessary header from st_texture.c.Vinson Lee
2010-01-12gallium: remove point_size_min and point_size_max from rasterizer stateRoland Scheidegger
The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
2010-01-11st/mesa: removed unused varBrian Paul
2010-01-11st/mesa: comments, whitespaceBrian Paul
2010-01-12Merge branch 'master' into opengl-es-v2Chia-I Wu
Conflicts: src/mesa/main/dd.h
2010-01-12st/mesa: Remove st_api.c.Chia-I Wu
st_api.c is supposed to define st_api_OpenGL to advertise OpenGL support. However, the linker discards the symbol because it has no user. It is better to leave this to other state trackers that link to libmesagallium.a. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-11st: Mark functions in st_public.h and vg_tracker.h as public.Chia-I Wu
These functions are the API of Gallium state tracker, and are used by EGL. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-11Fix compressed texture loads for non-minimal pitchesLuca Barbieri
The current glCompressedTexImage support in the state tracker assumes that compressed textures have minimal pitch. However, in some cases this is not true, such as for mipmaps of non-POT compressed textures on nVidia hardware. This patch adds a check and does a memcpy for each line instead of the whole image in that case. Signed-off-by: Keith Whitwell <keithw@vmware.com> Tweaks for C90 compilation.
2010-01-11st/dri: update dri2 drawables when viewport is changedBen Skeggs
Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-01-06Merge remote branch 'origin/mesa_7_7_branch'José Fonseca
Conflicts: configs/default src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/mesa/main/version.h
2010-01-06gallium: remove PIPE_TEX_FILTER_ANISOLuca Barbieri
This patch removes PIPE_TEX_FILTER_ANISO. Anisotropic filtering is enabled if and only if max_anisotropy > 1.0. Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be considered equivalent, and meaning to turn off anisotropic filtering. This approach has the small drawback of eliminating the possibility of enabling anisotropic filter on either minification or magnification separately, which Radeon hardware seems to support, is currently support by Gallium but not exposed to OpenGL. If this is actually useful it could be handled by splitting max_anisotropy in two values and adding an appropriate OpenGL extension. NOTE: some fiddling & reformatting by keithw to get this patch to apply. Hopefully nothing broken in the process.
2010-01-05st/mesa: fix broken translation of negative register indexesBrian Paul
A src register's index can be negative if we're doing indirect addressing into the constant buffer. Ex: MOV OUT[1], CONST[ADDR[0].x-3] This fixes the piglit vp-arl-neg-array.vpfp test. Before this change we were going out of bounds of the t->constants[] array and getting garbage that later triggered an assertion.
2010-01-05st/mesa: added PROGRAM_LOCAL_PARAM case in src_register()Brian Paul
Fixes piglit vpfp-generic arl.vpfp failure when using gallium.
2010-01-04mesa: make texture BorderColor a union of float/int/uintBrian Paul
When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
2010-01-04Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
2010-01-04st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL.Michel Dänzer
This was already done in st_TexImage() but was missed between incremental changes to st_TexSubimage().
2010-01-03mesa: Cope with the degenerate case of zero length ranges.José Fonseca
Fixes assertion failures on glean's bufferObject test.
2009-12-31st/mesa: implement conditional renderingBrian Paul
2009-12-31st/mesa: move st_query_object type to header to make it publicBrian Paul
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
2009-12-29st/mesa: add PIPE_FORMAT_Z24S8_UNORM in st_get_format_info()Brian Paul
Fixes progs/demos/fbotexture on Nouveau. Patch submitted by Luca Barbieri <luca@luca-barbieri.com>.
2009-12-29mesa: implement per-buffer color maskingBrian Paul
This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
2009-12-27Merge branch 'mesa_7_7_branch'Brian Paul