summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2009-08-14r300: rework index buffer setupMaciej Cencora
Copy elements directly to DMA bo to get rid of one memcpy, and prepare for using VBOs for index buffer.
2009-08-14r300: remove unused software TNL pathMaciej Cencora
This doesn't remove software TCL path - so RS480 and RS690 work as before.
2009-08-14r300: use VBOs for vertex attributesMaciej Cencora
2009-08-14intel: in intel_context struct use typedef for sarea structTobias Doerffel
Using drm_i915_sarea_t instead of struct drm_i915_sarea seems to be a common standard now, therefore fix it also in intel_context structure. Additionally this silences a compiler warning: intel_swapbuffers.c: In function `intelFixupVblank': intel_swapbuffers.c:48: warning: initialization from incompatible pointer type Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2009-08-14r300: add required symlinksMaciej Cencora
Reported by adamk on #radeon
2009-08-14radeon: handle debug versions of radeon_bo_openMaciej Cencora
2009-08-14radeon: add VBO support (not enabled yet)Maciej Cencora
2009-08-14radeon: export emitvec* functionsMaciej Cencora
2009-08-14radeon: constify some parametersMaciej Cencora
2009-08-14r600: emit SURFACE_BASE_UPDATE on depth base updates on rv6xxAlex Deucher
2009-08-13r600: move non-surface related cb state to general stateAlex Deucher
2009-08-13r600: move non-surface related depth state to general stateAlex Deucher
2009-08-13mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.cBrian Paul
2009-08-13i965: fix cube map on IGDNGXiang, Haihao
2009-08-12Merge branch 'new-frag-attribs'Brian Paul
This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these attributes were packed with the FOG attribute. That made things complicated elsewhere.
2009-08-12i965: Make the cube mapping RCP use a writemask.Eric Anholt
Fixes cube mapping since the scalar changes.
2009-08-12i965: Allocate destination registers for GLSL TEX instructions contiguously.Eric Anholt
This matches brw_wm_pass*.c behavior, and fixes the norsetto shadow demo. Bug #19489
2009-08-12i965: drop dead scalar handling in GLSL.Eric Anholt
2009-08-12i965: Correct brw_wm_nr_args for WM_DELTAXY and WM_PIXELXY.Eric Anholt
2009-08-12i965: Drop GLSL ABS code, which is translated away in brw_wm_fp.Eric Anholt
2009-08-12i965: Drop code for emitting OPCODE_SUB, since brw_wm_fp.c makes it an ADD.Eric Anholt
2009-08-12i965: Store the dispatch width in the WM compile struct.Eric Anholt
I'll be using this in merging brw_wm_emit.c and brw_wm_glsl.c
2009-08-12i965: Handle scalar result swizzling in shared GLSL/non-GLSL code.Eric Anholt
This is preparation for merging of brw_wm_glsl.c and brw_wm_emit.c, and glsl.c doesn't swizzle channel results around.
2009-08-12i965: Flag ARL-using programs as requiring brw_wm_glsl.cEric Anholt
This doesn't fix the glean testcase, but I guess it provides hope.
2009-08-12i965: Remove some unused WM opcode args.Eric Anholt
2009-08-12i965: Avoid re-uploading the index buffer when we don't need to.Eric Anholt
No performance difference proven at 95% confidence with my GLSL demo (n=10).
2009-08-12r600: fix warningAlex Deucher
2009-08-12r600: state cleanupsAlex Deucher
2009-08-12r600: clean up Create/DestroyContextAlex Deucher
2009-08-12r200: Prevent TexGenMatrix from leaking when destroying r200 context.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-12vbo: Avoid extra validation of DrawElements.Eric Anholt
This saves mapping the index buffer to get a bounds on the indices that drivers just drop on the floor in the VBO case (cache win), saves a bonus walk of the indices in the CheckArrayBounds case, and other miscellaneous validation. On intel it's a particularly a large win (50-100% in my app) because even though we let the indices stay in both CPU and GPU caches, we still end up waiting for the GPU to be done with the buffer before reading from it. Drivers that want the min/max_index fields must now check index_bounds_valid and use vbo_get_minmax_index before using them.
2009-08-12radeon: Minor warnings cleanup.Eric Anholt
2009-08-12i965: Use _MaxElement instead of index-calculated min/max for VBO bounds.Eric Anholt
2009-08-12radeon: Add protection against recursive DRM locking.Pauli Nieminen
Reference counting protects DRM lock call from recursive locking that would cause hang. Code also adds optional debugging output for recursive call that is compiled only if NDEBUG is not defined. This code is not 100% thread safe because mesa doesn't include increment and test atomic operation. There is built-in gcc functions but they are only available from gcc 4.2.
2009-08-12r600: A shader is bound that exports Z as a float into Red channelCooper Yuan
2009-08-11mesa: handle glDrawPixels images which are larger than max rect texture sizeBrian Paul
2009-08-11mesa: added _mesa_meta_draw_pixels()Brian Paul
2009-08-11mesa: added META_FOG and optimize some meta_begin/end() codeBrian Paul
2009-08-11r600: use the drm ioctls for swap and texture uploadAlex Deucher
NOTE: THIS REQUIRES AN UPDATED DRM!
2009-08-11mesa/glapi: regenerated files from gl_API.xmlBrian Paul
2009-08-11r600: update num of interp if posizition is usedCooper Yuan
2009-08-10intel: use new _mesa_meta_copy_pixels() functionBrian Paul
glCopyPixels() no longer hits a software fallback when zooming, blending, etc.
2009-08-10mesa: save/restore texture matrix in meta codeBrian Paul
Also, save/restore viewport and texture state in _mesa_meta_copy_pixels()
2009-08-10mesa: for meta blit, check max texture size, use glCopyTexSubImage2D() when ↵Brian Paul
possible
2009-08-10mesa: initial meta implementation of glCopyPixels()Brian Paul
2009-08-10mesa: remove debug flush callBrian Paul
2009-08-10intel: add missing \n to fprintf()Brian Paul
2009-08-10intel: use new _mesa_meta_blit_framebuffer() functionBrian Paul
The previous version of framebuffer blit was a quick hack. The new meta version works pretty well.
2009-08-10mesa: new driver meta-ops moduleBrian Paul
Implement glClear() in terms of quad rendering, implement glBlitFramebuffer() in terms of glCopyTexImage2D + textured quad, etc. There have been several places in the drivers where we've implemented meta rendering similar to this. This is an effort to do it in a more portable and more efficient form. The _mesa_meta_begin/end() functions act like glPush/PopAttrib() but are lighter-weight. Plus, _mesa_meta_begin() resets GL state back to default values (texturing off, identity vertex transform, etc) so the meta drawing functions don't have to worry about it. For now only _mesa_mesa_blit_framebuffer() and _mesa_meta_clear() are implemented. glDrawPixels() and glCopyPixels() would be the next candidates.
2009-08-10radeon_fbo: switch short to byte for 565Dave Airlie