summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2009-08-21glx: Make drawables persistent untill they are changed by glXMakeCurrentPauli Nieminen
This fixes bug that xdemos/manywin would segfault if it was run with command ./manywin 2. Demo is tring to call glXSwapBuffers while another context was bind using glXMakeCurrent. Fix is simple makes drawable and readable persistent untill they change or context is destroyed. I found a logic error when same dri context is used for multiple drawables which caused readable and drawable to fall out of sync in special case. Fix is simple just updating drawables more often than in original patch. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-21radeon: Add comment to explain logic for freeing dma buffers.Pauli Nieminen
2009-08-20r600: convert to using common radeon state atomsAlex Deucher
switches more state handling to common code. We need should be more fine grained with the state atoms eventually.
2009-08-20r600: improve state emissionAlex Deucher
Slowing migrating to atom based system like the other radeon drivers.
2009-08-20r600: split state emit into block specific functionsAlex Deucher
We probably want to go finer grained eventually, but this is a good start.
2009-08-20r600: try and get everything in the draw in one IBAlex Deucher
fixes corruption issues with apps like teapot and geartrain.
2009-08-20r600: move misc regs from general stateAlex Deucher
These regs don't use the SET_CONTEXT_REG packet, so they weren't getting set correctly.
2009-08-20r600: rework emit codeAlex Deucher
make sure we allocate enough space for relocs
2009-08-20radeon: Update regulary cs processing info from kernel.Pauli Nieminen
This fixes problem that dma buffers were leaking in dri1 mode. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-19radeon: fix typo in last dma patchAlex Deucher
2009-08-19intel: Fix failure to commit -a --amend before last push.Eric Anholt
2009-08-19intel: Align cubemap texture height to its padding requirements.Eric Anholt
2009-08-19intel: Align untiled region height to 2 according to 965 docs.Eric Anholt
This may or may not be required pre-965, but it doesn't seem unlikely, and I'd rather be safe.
2009-08-19radeon: Add debug output for dma buffer object numbers.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-19radeon: Fix dma buffer object pool to scale object sizes.Pauli Nieminen
This fixes problems when application is using large vertex arrays for drawing. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-19r600: minor cleanupAlex Deucher
2009-08-18radeon: balance dma buffer mappingPauli Nieminen
In radeonRefillCurrentDmaRegion() make sure we unmap the previous buffer.
2009-08-18r300: Movde debug output from stdout to stderr in copiler.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18r200: make use of DMA buffers for Elts a lot better.Dave Airlie
This allows us to return the unused portion of the dma buffer to the allocator instead of wasting nearly 16k a pop. Cherry picked and ported to new code by Pauli.
2009-08-18r200: Fix missing offset from elt buffer pointer.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
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.