summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-02-14mesa: added _mesa_clone_vertex/fragment_program()Brian Paul
To reduce casting elsewhere...
2010-02-14r600: Silence uninitialized variable warnings.Vinson Lee
2010-02-14mesa: Don't pass paramter to __builtin_clz which would hve undefined result.Pauli Nieminen
__builtin_clz with parameter 0 has undefined value. When using -O3 optimizing this would result to too large next power of two value. Fix is to check if passed value is 1 and modify formula for that case.
2010-02-14mesa: Add missing include.José Fonseca
2010-02-14mesa: Use util_format_name().José Fonseca
2010-02-14r300: Silence uninitialized variable warning.Vinson Lee
2010-02-14r600: Silence uninitialized variable warning.Vinson Lee
2010-02-13mesa: Fix compiler warningsKarl Schultz
Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
2010-02-13mesa: enable GL_ARB_fragment_coord_conventions for sw driversBrian Paul
This extension is now implemented in the GLSL compiler so it can be enabled by other drivers where applicable.
2010-02-13glsl: implement layout qualifiersBrian Paul
For GL_ARB_fragment_coord_conventions. This only applies to gl_FragCoord and controls pixel center origin and pixel center integer. For example: layout (origin_upper_left, pixel_center_integer) varying vec4 gl_FragCoord; This features introduces the idea of re-declaring variables with a changed type. This may also apply to arrays in some cases but that's not implemented at this time.
2010-02-13glsl: added type layout field and new type compare funcBrian Paul
Note: because of a weird dependency checking bug, a 'make clean' may be needed before recompiling.
2010-02-13mesa: copy frag coord layout fields tooBrian Paul
2010-02-13mesa: Export GL_EXT_texture_cube_map.José Fonseca
Still used by some applications.
2010-02-13mesa: s/abort/sys.exit/Vinson Lee
Python does not have the function abort.
2010-02-12mesa: Remove unnecessary header.Vinson Lee
2010-02-12i965: Remove unnecessary headers.Vinson Lee
2010-02-12dri: Remove unnecessary headers.Vinson Lee
2010-02-12mesa: Remove unnecessary headers.Vinson Lee
2010-02-12st/mesa: restore draw rasterization stage after rasterposBrian Paul
This fixes invalid calls to rastpos_point/line/tri() that can occur when glRasterPos() is called while in feedback or selection mode. (cherry picked from commit b3c7dc6ff232eb4c5ff6b0ddcfa90bcb56f78df1)
2010-02-12st/mesa: improved draw_range_elements codeBrian Paul
Don't use pipe->draw_range_elements() if min_index=max_index=~0 since that doesn't provide any useful info. Also, implement the loop around pipe->draw_range_elements() when nr_prims > 1.
2010-02-12st/mesa: rename state -> tgsi, updated commentsBrian Paul
2010-02-12st/mesa: remove unused varBrian Paul
2010-02-12intel: Remove unused variable.Vinson Lee
2010-02-12intel: Avoid dri_bo_flink() in intel_update_renderbuffers()Kristian Høgsberg
Now that we track the global name in struct intel_region, we can just look it up there.
2010-02-12intel: Track named regions and make sure we only have one region per named boKristian Høgsberg
2010-02-12dri: Store the loader private passed in at dri context creationKristian Høgsberg
We just threw it away before, but we haven't had a use for it yet.
2010-02-12Merge branch 'gallium-dynamicstencilref'Roland Scheidegger
2010-02-12Revert "r600c: substract vbo offset to vbo size"Jerome Glisse
This reverts commit 325614a882f5371da512536e07c443a172ffb87c. Ok this was already fixed this commit actualy broke things
2010-02-12r600c: substract vbo offset to vbo sizeJerome Glisse
To avoid kernel complaining and to set proper boundary on vbo, substract the vbo offset to the vbo size.
2010-02-12r600: be more exact in vb size calculationAndre Maasikas
to make kernel cs checker happier, last attribs don't need full stride of space. Calculate as count-1*stride + size of attrib
2010-02-12r600: support GL_SHORT attributesAndre Maasikas
normalized seems to work with this setting.
2010-02-11main: Fix compiler warning. No need to convert/store depthScale as GLfloat ↵Karl Schultz
just to convert it back to GLuint to call unpack_depth_span. Also removes a difference between the 24/8 and 8/24 texstore routines.
2010-02-12gallium: make max_anisotropy a unsigned bitfield memberRoland Scheidegger
saves us a dword in sampler state, hw can't do non-integer aniso degree anyway. To allow aniso 1x (which seems of dubious value but some hardware (radeons) have such a mode, and even d3d allows specifiying it) redefine anisotropic filtering as disabled only if max_anistropy is 0.
2010-02-11glapi: Avoid #including gl.hKristian Høgsberg
It's only used for a couple of integer types and and might conflict with other client API header files.
2010-02-11i915: Remove always-true irq_active struct intel_screen fieldKristian Høgsberg
2010-02-11i915: Remove a few DRI1 era struct intel_screen fieldsKristian Høgsberg
2010-02-11i915: Drop intelScreenPrivate typedef and just call it struct intel_screenKristian Høgsberg
2010-02-11i915: Remove unused intelRegion structKristian Høgsberg
Phew, sure is nice to only have one struct called intel region.
2010-02-11i915: Remove left-over drmUnmap()Kristian Høgsberg
2010-02-11mesa: additional constant/limit assertionsBrian Paul
2010-02-11gallium: give pipe_stencil_ref its own cso_save/restore functionsRoland Scheidegger
seems cleaner, and other dynamic state like viewport is handled that way too
2010-02-11st/mesa: fix gallium texture level selection for RTTBrian Paul
Fixes invalid texture level when rendering to a texture where GL_BASE_LEVEL > 0. This will be cherry-picked to the 7.7 branch after additional testing.
2010-02-11gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alphaRoland Scheidegger
makes life of state trackers easier
2010-02-10st/mesa: Silence uninitialized variable warning in st_cb_bitmap.c.Vinson Lee
2010-02-10swrast: Silence uninitialized variable warnings in ss_tritmp.h.Vinson Lee
2010-02-10ffb: Fix build.Vinson Lee
2010-02-10dri: Fix one last copy-and-paste brain damage from a previous commitIan Romanick
2010-02-10scons: User friendly message for code generated filesJosé Fonseca
2010-02-10r300/compiler: r500-fs: Properly set HW register swizzles.Corbin Simpson
Fixes fallout from 9a1bf52c.
2010-02-10st/mesa: more fixes for stencil ref change.Roland Scheidegger
compiles. Might need to do something to make it possible to save/restore stencil ref.