summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-12-12r300: refactor PVS code and constants emissionMaciej Cencora
2009-12-12r300: refactor R500 fragment program emissionMaciej Cencora
2009-12-12r300: refactor color buffer setupMaciej Cencora
2009-12-12r300: use _mesa_meta_Clear for buffer clearsMaciej Cencora
2009-12-12r300: minor texture code refactoringMaciej Cencora
2009-12-11gallium: added comment for pipe_reference() return valueBrian Paul
2009-12-11mesa: minor reformatting/rewrapping in dd.hBrian Paul
2009-12-11mesa: remove unused ctx->Driver.ActiveTexture() hookBrian Paul
2009-12-11mesa: updated commentBrian Paul
2009-12-11Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c
2009-12-11Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul
2009-12-11mesa: remove unnecessary loop in _mesa_remove_output_reads()Brian Paul
2009-12-11Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul
2009-12-11mesa: check dst reg in _mesa_find_free_register()Brian Paul
If a register was only being used as a destination (as will happen when generated condition-codes) we missed its use. So we'd errantly return a register index that was really in-use, not free. Fixes bug 25579.
2009-12-11sparc: additional preprocessor test for SPARC 64-bitAurelien Jarno
2009-12-11svga: Add a missing dependency from the prescale state.José Fonseca
Thanks for Keith to finding this. Fixes Jedi Knight 2 menus.
2009-12-11svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC.José Fonseca
Since we're reusing buffers we're effectively transforming all of them into dynamic buffers. It would be nice to not cache long lived static buffers. But there is no way to detect the long lived from short lived ones yet. A good heuristic would be buffer size.
2009-12-11svga: Keep tight control of texture handle ownership.José Fonseca
The texture owns the surface handle. All derivatives need to keep a reference to texture. This fixes several assertions failures starting up Jedi Knight 2. Should cause no change for DRM surface sharing -- reference count still done as before there.
2009-12-11svga: Fix mixed signed comparisons.José Fonseca
2009-12-10mesa: Initialize variable in MatchInstruction.Vinson Lee
2009-12-10mesa: Assign _mesa_lookup_parameter_index return value to GLint.Vinson Lee
2009-12-10i915: Add missing break statement in i915_debug_packet.Vinson Lee
2009-12-10glsl: Increase size of array in_slang_lookup_constant from 4 to 16.Vinson Lee
For some cases, _mesa_GetIntegerv reads up to params[15].
2009-12-10intel: Remove ARGB internal_format == GL_RGB hacksIan Romanick
Now that XRGB is supported, we don't need to hack around cases of an RGBA format buffer with an internal format of GL_RGB.
2009-12-10intel: Make RGB textures use XRGB8888Ian Romanick
2009-12-10intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers.Ian Romanick
2009-12-10i965: Fix handling of drawing to MESA_FORMAT_XRGB8888Ian Romanick
It turns out that 965 and friends cannot actually render to an xRGB surfaces. Instead, the surface has to be RGBA with writes to alpha disabled and the blend function modified to always use 1.0 for destination alpha.
2009-12-10intel: Use spantmp2 GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV for XRGB8888Ian Romanick
2009-12-10spantmp2: Add support for GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REVIan Romanick
This is really for MESA_FORMAT_XRGB8888. Clearly spantmp2.h needs some re-work. Any volunteers?
2009-12-10intel: name in intel_create_renderbuffer was always 0, removeIan Romanick
2009-12-10intel: Use texformat accessor to get bytes-per-pixelIan Romanick
2009-12-10intel: softwareBuffer in intel_alloc_renderbuffer_storage was always false, ↵Ian Romanick
remove
2009-12-10intel: Axe intel_renderbuffer::texformatIan Romanick
Since the texformat branch merge, the value of intel_renderbuffer::texformat is just a copy of gl_renderbuffer::Format.
2009-12-10intel: Flush the render/texture cache when finishing render to texture.Eric Anholt
Back when we were flushing the entire batch at BindFramebuffer, the kernel would notice the domain transition when someone went to texture from it and flush for us. We no longer do the batch flushing every time, so we get to do aggressive flushing until we move batchbuffer handling to libdrm. Fixes piglit fbo-flushing. Bug #25377. No noticeable performance loss on cairo-gl (so this is better than batch flushing).
2009-12-10glsl: Fix array out-of-bounds access by _slang_lookup_constant.Vinson Lee
2009-12-10mesa: Fix array out-of-bounds access by _mesa_TexParameteriv.Vinson Lee
2009-12-10mesa: Fix default (swrast) GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS.Eric Anholt
The swrast pipeline shouldn't have any problem with all the frag and vert textures being bound at the same time. Note that this may result in DRI drivers that don't set this limit having an improbable return (fragment + vertex < combined), but it seems like it shouldn't cause problems for apps.
2009-12-10st/xorg: fix yv12 plus some cleanups in the upload codeZack Rusin
2009-12-10st/xorg: enable yv12 for xvZack Rusin
2009-12-10intel: Attempt to fix up after "Update vertex texture code."Eric Anholt
The MaxCombinedTextureImageUnits is the total number of samplers that can be bound between vertex, geometry, and fragment, not 0. This should report the correct value on 965 now. Other DRI drivers may also need updating if their MaxVertexTextureImageUnits != 0 (for example, if using the sw vertex pipeline). It's not clear to me if there's going to be a valid value for this limit other than MaxTextureImageUnits + MaxVertexTextureImageUnits (+ MaxGeometryTextureImageUnits eventually). If not, then we should probably just move this into the core at Get time. Bug #25518 (wine regression). Fixes piglit vp-combined-image-units.
2009-12-09mesa: Fix SCons build.Vinson Lee
Commit cd6b8dd9e82fedc55d033131fbc0f8ee950567c8 deleted src/mesa/state_tracker/st_cb_get.c.
2009-12-10winsys/intel: fix dereferencing of opaque type due to pipe_reference changesRoland Scheidegger
2009-12-09mesa: Fix array out-of-bounds access by _mesa_TexGend.Vinson Lee
_mesa_TexGend calls _mesa_TexGenfv, which uses the params argument as an array.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_Lighti.Vinson Lee
_mesa_Lighti calls _mesa_Lightiv, which uses the params argument as an array.
2009-12-09mesa: Fix array out-of-bounds access by _mesa_Lightf.Vinson Lee
2009-12-09r300g: fix routing of vertex streams if TCL is bypassedMarek Olšák
Generating mipmaps finally works, among other things. Yay!
2009-12-09r300g: always disable unused colorbuffersMarek Olšák
2009-12-09r300g: make pow(0,0) return 1 instead of NaN in the R500 fragment shaderMarek Olšák
Unfortunately we can't fix this easily in the R300 fragment shader, and it's probably not worth the effort.
2009-12-09r300g: clean up r300_emit_aosMarek Olšák
2009-12-09mesa: Fix array out-of-bounds access by _mesa_PointParameteri.Vinson Lee
_mesa_PointParameteri calls _mesa_PointParameterfv, which uses the params argument as an array.