summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-10-21mesa: added _mesa_dump_renderbuffers() debug codeBrian Paul
2009-10-20intel: Fix flipped condition in ARB_sync GetSYnciv(GL_SYNC_STATUS).Eric Anholt
Bug #24435
2009-10-20meta: Fix the BufferSubData in meta clear to be BufferData.Eric Anholt
Fixes a 3.4% +/- 1.3% performance regression in my GL demo (n=3). The other meta code could probably also use the same treatment.
2009-10-19Merge branch 'mesa_7_6_branch' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa regenerated lex.yy.c
2009-10-19r300: fix texture size handling with size > 2048Mathias Fröhlich
The in kernel texture check fails because of both bit11 flags being set on 16x16 textures. It tuns out that these bits are still set and not cleared in the pp_txpitch field of the texture. The attached patch at least helps for this case on my machine. It clears the bit 11 from the pitch field if the texture is smaller and masks out that hight bits on the conventional width and height field. Fixes bug 24584
2009-10-19r600: Fix size calculation for 24 bit depthRobert Noland
size was being calculated based on 3 bytes per pixel with 24 bit depth instead of 4 bytes. This caused corruption in the bottom 25% of objects. This finishes fixing the menu/text corruption in compiz/kde4. Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-17gallium: Permit surface_copy and surface_fill to be NULL.Corbin Simpson
Uf. Lots of files touched. Would people with working vega, xorg, dri1, etc. please make sure you are not broken, and fix yourself up if you are. There were only two or three places where the code did not have painful fallbacks, so I would advise st maintainers to find less painful workarounds, or consider overhauling util_surface_copy and util_surface_fill. Per ymanton, darktama, and Dr_Jakob's suggestions, clear has been left as-is. I will not add PIPE_CAP_BLITTER unless it is deemed necessary.
2009-10-17intel: Disallow relocations to the byte beyond the end of the bufferChris Wilson
2009-10-16mesa: fix/update some commentsBrian Paul
2009-10-16mesa: lift default symlinks target into Makefile.templateBrian Paul
Driver Makefiles can still add symlink dependencies/rules if needed.
2009-10-16mesa: use EXTRA_MODULES and SUBDIRS to build r300 compilerBrian Paul
This is a bit cleaner and avoids rebuilding the r300_dri.so library all the time.
2009-10-16mesa: added SUBDIRS support in dri/Makefile.templateBrian Paul
2009-10-16mesa: move a commaBrian Paul
2009-10-16mesa: added MESA_GLSL=useprog debug flagBrian Paul
This logs glUseProgram() calls to stderr.
2009-10-16r300: fix vertex program parameters limitsMaciej Cencora
2009-10-16mesa: use C locale for _mesa_strtod()Brian Paul
_mesa_strtod() is used for shader/program parsing where the decimal point character is always '.' Use strtod_l() with a "C" locale to ensure correct string->double conversion when the actual locale uses another character such as ',' for the decimal point. Fixes bug 24531.
2009-10-15Use the right pitch when rendering to a textureOwen Taylor
We need to get the pitch from the texture level we are rendering to, rather than just using the base texel width.
2009-10-15r600: FRAG_ATTRIB_WPOS and FRAG_ATTRIB_FOGC appear to be supported.Robert Noland
Report unsupported attributes while I'm here. Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-15r600: cleanup in r600_cs_process_relocs().Robert Noland
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-15radeon: return EINVAL for 0 length buffers.Robert Noland
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-15r600: fix tfp1 bo sizeAndre Maasikas
Setting the wrong bo size resulting in an incomplete read cache flush when reading the texture. This fixes the compiz text corruption. [agd5f: take hw pitch alignment into account]
2009-10-15r600: implement ProgramStringNotifyAndre Maasikas
need this to properly test with piglit/glean vert/fragprog tests copied mostly from r300, many thanks to osiris, nha, airlied, others...
2009-10-15r600: LIT dst.y gets value from src.xAndre Maasikas
seems I overlooked this when removing hardcoded swizzles for this one previously
2009-10-15r600: DPH adds w comp of second operand, so set first one to 1 insteadAndre Maasikas
2009-10-15r600: fixup KIL instruction a bitAndre Maasikas
- KILLGT takes 2 arguments - arb KIL has no dst register - add TODO about clause ending but currently piglit fp-kil passes and does not hang the card
2009-10-15r600: use CB_TARGET_MASK instead of CB_SHADER_MASK for setting color maskAndre Maasikas
makes blend functions work better Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-10-15r600: user correct alpha blend factorAndre Maasikas
Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-10-15r600: clear position enable bit when when wpos is not used by FPAndre Maasikas
Makes doom3 alot nicer..
2009-10-15mesa: regenerated lex.yy.c w/ _mesa_strtod()Brian Paul
2009-10-15mesa: Use _mesa_strtod in the lexer for assembly shadersNeil Roberts
See bug 24531.
2009-10-14mesa: added VERBOSE_SWAPBUFFERSBrian Paul
2009-10-14vbo: clean-ups, reformattingBrian Paul
2009-10-14mesa: added MESA_VERBOSE option 'draw' to debug glDrawArrays/Elements, etc.Brian Paul
2009-10-14mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it doesBrian Paul
2009-10-14mesa: remove unused ctx->Driver.PrioritizeTextures() hookBrian Paul
2009-10-14mesa: remove unused ctx->Driver.TextureMatrix() hookBrian Paul
2009-10-14r600: enable EXT_vertex_array_bgra extensionsAlex Deucher
2009-10-14Merge branch 'mesa_7_6_branch'Brian Paul
2009-10-14mesa: remove left-over debug printfBrian Paul
2009-10-13mesa: minor tweak to printf stringBrian Paul
2009-10-13mesa: rework _mesa_read_shader() debug hookBrian Paul
Look for shaders named "newshader_<CHECKSUM>" to replace the incoming shader text. For debug purposes.
2009-10-13mesa: don't print pointer in _mesa_fprint_parameter_list()Brian Paul
2009-10-13Store clipping distance for user clip planes as part of vertex processingIan Romanick
Once the clipping distance is calculated and stored per vertex, the distances can be re-used when clipping is actually performed. This doesn't have any immediate benefit, but it paves the way for implementing gl_ClipDistance in vertex shaders and result.clip[] in vertex programs. This has not produces any oglconform regressions on my G31 system which uses software TNL. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2009-10-13intel: fix broken sw generate mipmap pathBrian Paul
Need to restore code that fixed up the intel_texture_image state.
2009-10-13mesa: whitespace fixesBrian Paul
2009-10-13mesa: do RTT check in _mesa_meta_check_generate_mipmap_fallback()Brian Paul
We need to check that we can actually render to the texture's format before doing mipmap generation. This may fix bug 24219.
2009-10-12mesa: save/set/restore texture base/wrap state in blitframebuffer_texture()Brian Paul
2009-10-12mesa: minor clean up in check_begin_texture_render()Brian Paul
2009-10-12intel: whitespace/formatting clean-upBrian Paul
2009-10-12intel: replace extern decl with #includeBrian Paul