summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-05-20radeon: Increase reference count of current renderbuffers.Michel Dänzer
Fixes glxinfo: main/renderbuffer.c:2159: _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed.
2009-05-20Merge branch 'master' into radeon-rewriteMichel Dänzer
Conflicts: src/mesa/drivers/dri/r300/r300_context.c src/mesa/drivers/dri/r300/r300_texstate.c
2009-05-20radeon: set max texture sizeJerome Glisse
This still need some work to actually report somethings reasonable if no memory manager is available.
2009-05-20r200: fix indexed draw color order and cs missmatchJerome Glisse
2009-05-19st: reformatting, comments, var renamingBrian Paul
2009-05-19Merge branch 'mesa_7_5_branch'Brian Paul
2009-05-19mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENTMathias Fröhlich
See sourceforge bug #2793846.
2009-05-19mesa: assign trb->Base.StencilBits in update_wrapper().Brian Paul
When we render to a depth/stencil texture there are stencil bits.
2009-05-19mesa: print more info when valid_texture_object() failsBrian Paul
2009-05-18trace: Improve shader wrappingJakob Bornecrantz
2009-05-18st/dri: Only create new textures if drawable has changedJakob Bornecrantz
2009-05-18r300-gallium: Fix (another) wrong value in MSPOS.Corbin Simpson
Again, thanks to agd5f.
2009-05-18radeon-gallium: Remove BO validation debug.Corbin Simpson
It appears that that area of code "just works" much like classic Mesa's version, so might as well not waste scrollback on it.
2009-05-18r300-gallium: Cleanup viewport state setup.Corbin Simpson
2009-05-18r300-gallium: Always do VTE, never software viewport.Corbin Simpson
This makes glxgears draw properly with SW TCL.
2009-05-18Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile src/mesa/main/version.h
2009-05-18st/mesa: fix incorrect src/dst stride params to _mesa_generate_mipmap_level()Brian Paul
The stride needs to be in texels, not bytes.
2009-05-18mesa: comments for _mesa_generate_mipmap_level()Brian Paul
2009-05-18softpipe: add texture target sanity check assertionBrian Paul
2009-05-18st: fix incorrect target parameter to screen->is_format_supported()Brian Paul
We were passing a GL texture target instead of a pipe_texture_target enum.
2009-05-18Initialize psp->waitX/waitGL for swrast_dri.so.Aidan Thornton
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21053 .
2009-05-18radeon: fix DRI1 cmd streamJerome Glisse
2009-05-17r300-gallium: Enable GLSL for r500.Corbin Simpson
Before you get all excited, this is *not* to be construed as actual support for GLSL shaders. The GL version is still 1.3, and stuff still sucks. Just flicking it on so that it can be tested and developed a bit easier.
2009-05-17r300-gallium: r500-fs: DDX and DDY support.Corbin Simpson
Oh, look, GLSL instructions. I wonder what I'll do next.
2009-05-17dri-gallium: Add GLSL support.Corbin Simpson
Oh, look, it's more features. :3
2009-05-17r300-gallium: Add half-right COS and SIN.Corbin Simpson
HW trig does a premultiply by 2pi, where Mesa does another premultiply by pi. This is a problem.
2009-05-17r300-gallium: Size mismatch.Corbin Simpson
2009-05-17r300-gallium, radeon-gallium: Nuke gb_pipes from orbit.Corbin Simpson
See the previous commit for an explanation. This is just all the support code for GB_TILE_CONFIG.
2009-05-17r300-gallium: Don't set GB_TILE_CONFIG (in userspace.)Corbin Simpson
This accompanies kernel patches that make GB_TILE_CONFIG's various members completely controlled in DRM. GB_TILE_CONFIG has the following controls: - The number of GB (pixel) pipes enabled - The size and style of tiling - Subpixel precision (either 1/12 or 1/16) Per airlied and glisse, userspace and kernel will now agree (always) on a subpixel precision of 1/12, and tiling will always be kernel-controlled.
2009-05-17r300-gallium: Clean up more invariant state.Corbin Simpson
GA_ENHANCE is now the kernel's problem.
2009-05-17r300-gallium: Update XXX.Corbin Simpson
Lops work fine as long as HW TCL is off. (I think I know why.)
2009-05-17r300-gallium: Correct default MSPOS.Corbin Simpson
Per agd5f.
2009-05-17r300-gallium: vs: Fix vert shader init.Corbin Simpson
Makes the last three commits suck much less. :3
2009-05-17r300-gallium: r500-fs: Enable depth writes, kinda.Corbin Simpson
Should work, but doesn't. Hm.
2009-05-17r300-gallium: Comment out useless debugging code.Corbin Simpson
Those parts are nearly solid compared to the shaders.
2009-05-17r300-gallium: vs: Dupe tokens, better debug, count spurious insts.Corbin Simpson
2009-05-16r300-gallium: Die on bad texture formats.Corbin Simpson
Odds are good that we'll die later anyway, so we might as well do it before we start dancing on random memory.
2009-05-16r300-gallium: Update floating-point params too.Corbin Simpson
Even though we *can* render 10,000-pixel-wide lines, let's not advertise it.
2009-05-16r300-gallium: Update screen caps.Corbin Simpson
Anisotropic filtering should work, and OQ is broken.
2009-05-16intel-gallium: Fix trace_drm integration.Corbin Simpson
Compile-tested only, sorry.
2009-05-16Create common trace_drm code, add to radeon_winsys.Corbin Simpson
2009-05-16r300-gallium: Various cleanups leftover from before.Corbin Simpson
BEGIN/END_CS pair, a few asserts, and a slightly more correct VTE setup.
2009-05-16gallium: remove occlusion_count flag from depth-stencil stateKeith Whitwell
Drivers can just keep track of whether they are within a query by monitoring the begin/end query callbacks. The flag adds no information beyond that. Only softpipe was examining this flag -- it has been fixed up and retested with demos/arbocclude.
2009-05-16r300: cleanup vertex program related functionsMaciej Cencora
- move vertex program related functions to r300_vertprog.c - use _mesa_bitcount instead of self-made bit_count function - remove duplicated field in r300_vertex_shader_fragment.body union - rename r300_vertex_shader_fragment to r300_vertex_shader_hw_code - rename r300_vertex_program field native to error - remove unnecessary r300_vertex_shader_state structure - remove unused r300_vertex_program and r300_vertex_program_cont fields - remove disabled code
2009-05-16r300: minor code movementMaciej Cencora
2009-05-16r300: more cleanupMaciej Cencora
- remove unnecessary r300TranslateFragmentShader call from r300UpdateShaderStates (it is already called in r300UpdateShaders) - remove unnecessary null ptr checks
2009-05-16r300: move some code to common pathMaciej Cencora
2009-05-16r300: rename functionsMaciej Cencora
Be consistent with function naming: use Setup/Emit names for functions that modify hardware state
2009-05-16r300: move forward declarations to where they belongMaciej Cencora
2009-05-16r300: software fallbacking handling rewriteMaciej Cencora
Until now falling back to software rasterizer worked only for TCL enabled cards. For non TCL cards we used to plug our rendering functions in r300InitSwtcl, and we had never restored original functions for software rasterizer.