summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2009-08-18radeon: Optimize memory handling for dma operations.Pauli Nieminen
We keep dma buffer objects in list untill they have been unused for many draw operations. Current limit of having 100 flushes is just guess for good performance/memory trade off. Moving WARN_ONCE macro to common context because it is used in multiple drivers. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18r300: fix the build on big endianAlex Deucher
2009-08-18r600: fix buildDave Airlie
2009-08-18r300: remove warning introduced with OQDave Airlie
2009-08-18radeon/r200: fix build after OQ commitsDave Airlie
2009-08-18r300: OQ reworkDave Airlie
Move to common code base so radeon/r200 can add support for this. Make OQ start a state emitted like all normal state, and make no-tcl flushing work in proper places. Really need a generic post emit space reservation mechanism like max_state so we can reserve some space for the emit this code passes demos/arbocclude, piglit occlusion query and glean occlusion query with TCL and NO-TCL on my rv530.
2009-08-18r300: fix missing BEGIN/END batchesDave Airlie
2009-08-18r300: fix big endian buildDave Airlie
2009-08-17r600: fix counting error after the last commitAlex Deucher
2009-08-17r600: make sure the number of indices is validAlex Deucher
make sure the number of indices is valid for the requested prim type. glxgears sends invalid quad strips with only 2 indices for example.
2009-08-17radeon: remove RADEON_DEBUG_BO stuffAlex Deucher
This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build.
2009-08-17r300: split vbo rendering with big drawarray caseJerome Glisse
Split vbo rendering when the number of elements requested by drawarrays is bigger than 65536.
2009-08-17radeon: turn off bo debuggingDave Airlie
2009-08-16r300: disable ZTOP only when occlusion queries are usedMaciej Cencora
2009-08-15r300: enable ARB_occlusion_queryMaciej Cencora
Supported only on HW with TCL block and with proper radeon drm. Required minimum radeon drm version is 1.30 or KMS.
2009-08-15radeon: add flag for drm OQ supportMaciej Cencora
2009-08-15r300: temporary occlusion query hackMaciej Cencora
2009-08-15r300: clear not_flushed OQ list after flushMaciej Cencora
2009-08-15r300/oq: add some debugging infoMaciej Cencora
2009-08-15r300: add occlusion queries supportMaciej Cencora
TODO: - use proper interface for checking if bo is idle when it's available - disable ZTOP only when needed - make it work under KMS
2009-08-15radeon space: realign with drm space check codeDave Airlie
2009-08-15r300: fixup space checks since VBO codeDave Airlie
Hopefully this gets the ordering correct so the space checks don't fail.
2009-08-15r300: add just in case warn I don't think this can actually happenDave Airlie
2009-08-15radeon: enable vertex splitting for IBsDave Airlie
Based on Maciej's code, just fixed up the alignments for INDX_BUFFER ut2004 runs AS-Convoy
2009-08-15i965: disable bounds checking on arrays with stride 0Roland Scheidegger
if stride is 0 we cannot use count as max index for bounds checking, since the hardware will simply return 0 as data for indices failing bounds check. If stride is 0 any index should be valid hence simply disable bounds checking in this case. This fixes bugs introduced with e643bc5fc7afb563028f5a089ca5e38172af41a8.
2009-08-14i965: Add support for GL_ARB_seamless_cube_mapIan Romanick
2009-08-15Merge branch 'vbo_clean'Maciej Cencora
Conflicts: src/mesa/drivers/dri/r300/r300_draw.c
2009-08-15r300: mark VBO buffer objects as persistentMaciej Cencora
2009-08-14r300: unmap buffer objects after usageMaciej Cencora
2009-08-14r300: remove broken vertex splittingMaciej Cencora
Revert to previous behaviour of dropping to big render operations.
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