aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
Commit message (Collapse)AuthorAgeFilesLines
* r200: Add radeon_buffer_objects.c.Henri Verbeet2010-09-053-0/+3
|
* radeon: Add DRI2 flush extension support, so we synchronize properly.Mario Kleiner2010-08-022-0/+4
| | | | | | | | | | | | | | When a DRI2 swap buffer is pending we need to make sure we have the flush extension so radeon doesn't resume rendering to or reading from the not yet blitted front buffer. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <[email protected]> Signed-off-by: Mario Kleiner <[email protected]>
* Revert "radeon: Add DRI2 flush extension to so we synchronize properly."Jerome Glisse2010-08-022-4/+0
| | | | This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
* radeon: Add DRI2 flush extension to so we synchronize properly.Mario Kleiner2010-08-022-0/+4
| | | | | | | | | | | | | | | | | When DRI2 swap buffer is pending (copy buffer not pageflipping) we need to make sure we have the flush extension so radeon doesn't resume rendering on the not yet blitted front buffer. Modified version of Jerome's patch to add flush extension in the correct place. This prepares a possible fix for: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <[email protected]> Signed-off-by: Mario Kleiner <[email protected]>
* glx: Drop support for GLX_MESA_allocate_memoryKristian Høgsberg2010-07-192-112/+0
| | | | Only r200 implemented it.
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-102-6/+6
|
* mesa: move atifragshader.[ch] to main/Brian Paul2010-06-101-1/+1
|
* dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg2010-04-282-2/+4
|
* r100/r200/r300/r600: enable accel for Copy/DrawPixels without kmsAlex Deucher2010-03-241-4/+3
| | | | meta ops should work ok without kms.
* Merge branch '7.8'Brian Paul2010-03-222-24/+35
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/mesa/state_tracker/st_cb_drawpixels.c
| * r200: Fix emit size prediction to account elt splitting.Pauli Nieminen2010-03-212-3/+4
| | | | | | | | | | Emit sizes prediction didn't account for render splitting in hwtnl path.
| * r200: Don't flush when closing elts in KMS.Pauli Nieminen2010-03-211-1/+2
| | | | | | | | | | | | | | Flush in middle of rendering in KMS is not allowed because buffers are discarded in flush. Fixes crash when emiting split indices with RADEON_DEBUG=all.
| * r200: Fix swtnl fallback to flush pending rendering before transition.Pauli Nieminen2010-03-211-4/+14
| | | | | | | | | | | | | | | | Flush after transition would emit wrong state that could cause wrong state emited for pending rendering operation. Fixes wan once from extrement tuxracer that is using per vertex materials.
| * r200: Fix mixed indetion in r200TclFallback.Pauli Nieminen2010-03-211-21/+20
| |
* | Merge branch '7.8'Michel Dänzer2010-03-121-1/+1
|\|
| * Grammar and spelling fixesJeff Smith2010-03-121-1/+1
| | | | | | | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * radeon/r200/r600: allow src and dst BOs to be placed in GTT during blitAlex Deucher2010-03-081-8/+2
| |
| * radeon/r200/r600: reset bos when validating buffers during blitAlex Deucher2010-03-081-0/+3
| |
* | r100/r200/r300/r300: only enable accelerated pixel ops with kmsAlex Deucher2010-03-123-6/+9
| | | | | | | | fixes fdo bug 27043
* | r200: support additional blit formatsAlex Deucher2010-03-112-18/+138
| | | | | | | | swizzle in the pixel shader
* | r200: add additional blit formatsAlex Deucher2010-03-101-0/+17
| |
* | radeon/r200/r600: enable HW accelerated gl(Read/Copy/Draw)PixelsAlex Deucher2010-03-105-536/+4
| |
* | radeon/r200/r300/r600: add is_format_renderable functionMaciej Cencora2010-03-091-0/+1
| |
* | radeon: add hw accelerated glReadPixel support (not enabled yet)Maciej Cencora2010-03-092-0/+2
| |
* | radeon/r200/r600: allow src and dst BOs to be placed in GTT during blitAlex Deucher2010-03-081-8/+2
| |
* | radeon/r200/r600: reset bos when validating buffers during blitAlex Deucher2010-03-081-0/+3
| |
* | radeon: move glGetTexImage handlers to seperate fileMaciej Cencora2010-03-072-0/+2
| |
* | radeon: added tiling functionsMaciej Cencora2010-03-073-1/+4
| |
* | dri: drop MINIGLX_SOURCES (2)George Sapountzis2010-03-061-1/+0
| |
* | dri: drop MINIGLX_SOURCESGeorge Sapountzis2010-03-061-2/+0
|/
* radeon/r200/r300/r600: add check_blit vtbl functionAlex Deucher2010-03-033-2/+5
| | | | | | | | | Check if the native blit formats are supported, if not, attempt to use an alternate format. Skip 3, >4 bpp as per comments from mcencora on irc. Signed-off-by: Alex Deucher <[email protected]>
* Remove stray defines of HAVE_RGBAIan Romanick2010-03-031-1/+0
| | | | | | | Now that color-index support is removed from t_dd_tritmp.h and t_dd_unfilled.h, drivers no longer need define HAVE_RGBA. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan Romanick2010-03-031-2/+0
| | | | | | | | These are used to inform the driver of the clear value for color-index buffers and to control write-masking of bits in color-index buffers. No driver use or need (not even Nouveau) these interfaces. Signed-off-by: Ian Romanick <[email protected]>
* radeon/r200/r300/r600: fix blit BO buffer validationDave Airlie2010-03-031-4/+8
| | | | | | | | | there is no need for these to be persistent since we flush the CS at the end of the blit, and we don't reuse these buffers at all. on my r600 the Wine DX9 test suite doesn't crash at least anymore. Signed-off-by: Dave Airlie <[email protected]>
* radeon/r200: fix the state emission before kernel clearDave Airlie2010-02-241-0/+2
| | | | | | this moves the emission outside the lock and adds r200 support. Signed-off-by: Dave Airlie <[email protected]>
* radeon: Define EXT_framebuffer_object constants to match hw.Pauli Nieminen2010-02-101-0/+2
| | | | | | This hides the assertion failure in glean/fbo test. Underlying problem when same texture is set twice to different attachments will cause assertion.
* dri_interface: Introduce DRI tokens for the texBuffer texture formatsKristian Høgsberg2010-02-091-4/+4
| | | | | | This used to take GLX tokens, but the DRI interface can't depend on GLX defines. We fix this by introducing DRI tokens that have the same value as the GLX texture format tokens.
* r200: Fix UMS notto emit stp.Pauli Nieminen2010-02-091-1/+4
| | | | | Polgon stipples are handled by kernel in UMS. Mark the state as never to be emited for UMS.
* r200: Fix LOD min/max emit.Pauli Nieminen2010-02-072-7/+30
| | | | | | Just emit minLod and maxLod to correct reisters. Fixes lodclamp and levelclamp test cases from piglit.
* r100/r200/r300/r600: Set MaxCombinedTextureImageunits.Pauli Nieminen2010-02-071-0/+2
| | | | | | | Fixes glActiveTexture to set GL_INVALID_ENUM when trying to activate texture unit that is not available. piglit test case general/texunit passes now.
* r200: Fix lod bias correction.Pauli Nieminen2010-02-073-4/+7
| | | | | | glean/pointSprite shows that rv280 is trying to read from better quality mipmap level. We have to correct default lod bias to match required texture selection.
* r200: Add some debug output to texture function.Pauli Nieminen2010-02-061-15/+30
|
* r200: Optimize polygon stipple emit.Pauli Nieminen2010-02-051-1/+10
| | | | Only emit polygon stipple when the state is enabled.
* r200: Add trace logging to r200PointSize.Pauli Nieminen2010-02-051-0/+7
|
* mesa: change ctx->Driver.ProgramStringNotify() to return GLbooleanBrian Paul2010-02-041-2/+5
| | | | | | | | | | | | | GL_TRUE indicates that the driver accepts the program. GL_FALSE indicates the program can't be compiled/translated by the driver for some reason (too many resources used, etc). Propogate this result up to the GL API: set GL_INVALID_OPERATION error if glProgramString() was called. Set shader program link status to GL_FALSE if glLinkProgram() was called. At this point, drivers still don't do any program checking and always return GL_TRUE.
* r200: Add the polygon stipple state to the state list.Pauli Nieminen2010-02-041-0/+1
| | | | This fixes glean paths test case.
* r200: Add logging for glPolygonStripple.Pauli Nieminen2010-02-041-0/+6
|
* r200: Fix EXT_fogcoord rendering.Pauli Nieminen2010-02-021-2/+2
| | | | | The fogcoord calue was not pushed to GPU because of implicit float to int conversion. Fix is to use float pointer to buffer object so no conversion is done in assigment
* r200: Remove unnecessary headers.Vinson Lee2010-01-309-24/+0
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-251-1/+1
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c