summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* r600: remove stray END_BATCH in blit codeAlex Deucher2010-01-161-1/+0
|
* r600: improve blit supportAlex Deucher2010-01-152-247/+1074
| | | | | | | | | | - fill in more src/dst formats - disable depth copies for now - set proper data formats in render target regs - fill in additional default state The swizzles on some of the less used mesa formats are probably wrong.
* r600: add initial blit supportAndre Maasikas2010-01-157-323/+701
|
* r600: add r600_blit.cAlex Deucher2010-01-151-0/+609
| | | | Unfinished.
* Merge branch 'master' of ssh://people.freedesktop.org/~jbarnes/mesaJesse Barnes2010-01-117-8/+40
|\ | | | | | | | | | | Conflicts due to DRI1 removal: src/mesa/drivers/dri/intel/intel_context.c src/mesa/drivers/dri/intel/intel_screen.c
| * intel/DRI2: add DRI2flushExtension support with invalidate hookKristian Høgsberg2010-01-085-17/+44
| | | | | | | | | | | | Needed to support the SwapBuffers code properly. Signed-off-by: Kristian Høgsberg <[email protected]>
| * DRI2: add SwapBuffers supportJesse Barnes2010-01-082-0/+3
| | | | | | | | | | | | | | | | | | | | Support the new DRI2 protocol request, DRI2SwapBuffers, in both direct and indirect rendering context. This request allows the display server to optimize back->front swaps (e.g. through page flipping) and allows us to more easily support other GLX features like swap interval and the OML sync extension in DRI2. Signed-off-by: Jesse Barnes <[email protected]>
* | radeon: fix prediction for r100 inline vert/elt emits.Dave Airlie2010-01-111-0/+1
| | | | | | | | | | On r100 we emit the indices inline so we need to account for that in the emission size.
* | radeon: fix bug in realloc code.Dave Airlie2010-01-111-1/+1
| | | | | | | | This bug was fixed in libdrm ages ago, port to non-kms
* | r300: minor accelerated blit fixesMaciej Cencora2010-01-091-1/+14
| |
* | r300: fallback on depth buffer blitsMaciej Cencora2010-01-091-3/+5
| | | | | | | | Depth buffer accelerated blits aren't implemented yet.
* | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-084-24/+26
|\ \ | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
| * | r300: Move initial declaration outside for loop.Vinson Lee2010-01-081-2/+4
| | |
| * | r600: adjust after radeon mipmap changes in 7118db8700Andre Maasikas2010-01-062-6/+5
| | | | | | | | | | | | | | | | | | R600_OUT_BATCH_RELOC doesn't really use offset so set it in TEX_RESOURCE2 + typo fix
| * | r600: float texture component orderingPierre Ossman2010-01-061-20/+20
| | | | | | | | | | | | | | | | | | | | | The ordering of texture components was backwards for the floating point textures. Signed-off-by: Pierre Ossman <[email protected]>
| * | mesa: test index bounds before array elementRoel Kluin2010-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | Check whether the index is within bounds before accessing the array. Signed-off-by: Roel Kluin <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * | i965: fix invalid assertion in emit_xpd(), againBrian Paul2010-01-061-1/+1
| | |
* | | intel: Remove leftover symlinks from DRI1 removal.Eric Anholt2010-01-072-2/+0
| | |
* | | i810: use ColorMask[0]Brian Paul2010-01-071-1/+1
| | |
* | | r300/compiler: add full viewport transformation support in WPOS codegenMarek Olšák2010-01-064-6/+16
| | |
* | | Make sure we use only signed/unsigned ints with bitfields.Michal Krol2010-01-063-13/+13
| | | | | | | | | | | | Seems to be the only way to stay fully portable.
* | | Merge remote branch 'origin/mesa_7_7_branch'José Fonseca2010-01-061-1/+1
|\| | | | | | | | | | | | | | | | | | | | Conflicts: configs/default src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/mesa/main/version.h
| * | i965: fix invalid assertion in emit_xpd()Brian Paul2010-01-051-1/+1
| | | | | | | | | | | | Invalid assertion found by Roel Kluin <[email protected]>
| * | tdfx: condition always evaluates to false in SetupDoubleTexEnvVoodoo3()Roel Kluin2010-01-051-1/+1
| | | | | | | | | | | | | | | | | | This can never be true. Signed-off-by: Roel Kluin <[email protected]>
* | | i965: Fix build after blind merge of mesa 7.7 by Brian.Eric Anholt2010-01-051-2/+3
| | |
* | | Merge branch 'remove-intel-dri1'Kristian Høgsberg2010-01-05153-2163/+807
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove-intel-dri1: intel: intelScreenContext() is no longer used intel: Remove remaining dri2.enabled tests intel: Drop more cliprect bookkeeping intel: Remove struct intel_framebuffer intel: Remove client-side vblank code intel: Drop intelWindowMoved() intel: Drop batchbuffer cliprect_mode tracking intel: Drop DRI1 static regions intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region() intel: Drop LOCK/UNLOCK_HARDWARE() intel: Drop DRI1 SwapBuffer implementation intel: Drop DRI1 CopySubBuffer implementation intel: Drop DRI1 support Push __driDriverExtensions out of dri_util.c and into the drivers Remove leftover __DRI{screen,drawable,context}Private references Check for libdrm_$chipset.pc when needed
| * | | intel: intelScreenContext() is no longer usedKristian Høgsberg2010-01-041-15/+0
| | | |
| * | | intel: Remove remaining dri2.enabled testsKristian Høgsberg2010-01-042-27/+0
| | | |
| * | | intel: Drop more cliprect bookkeepingKristian Høgsberg2010-01-046-122/+44
| | | |
| * | | intel: Remove struct intel_framebufferKristian Høgsberg2010-01-045-90/+51
| | | | | | | | | | | | | | | | | | | | | | | | With the vsync fields no longer relevant and by refactoring the code to no longer use color_rb[0-1] we can just use struct gl_framebuffer directly.
| * | | intel: Remove client-side vblank codeKristian Høgsberg2010-01-048-221/+0
| | | |
| * | | intel: Drop intelWindowMoved()Kristian Høgsberg2010-01-042-81/+0
| | | | | | | | | | | | | | | | | | | | | | | | Everything this functions does under DRI2 is also taken care of by intel_draw_buffer(), which is always called where intelWindowMoved() is called.
| * | | intel: Drop batchbuffer cliprect_mode trackingKristian Høgsberg2010-01-0413-128/+49
| | | |
| * | | intel: Drop DRI1 static regionsKristian Høgsberg2010-01-044-352/+3
| | | |
| * | | intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region()Kristian Høgsberg2010-01-041-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | This function was using intel->depth_region, which is the static region for the DRI1 depth buffer. This code has always been broken with DRI2 but I suspect it doesn't get excersized much.
| * | | intel: Drop LOCK/UNLOCK_HARDWARE()Kristian Høgsberg2010-01-0413-204/+3
| | | |
| * | | intel: Drop DRI1 SwapBuffer implementationKristian Høgsberg2010-01-043-189/+0
| | | |
| * | | intel: Drop DRI1 CopySubBuffer implementationKristian Høgsberg2010-01-042-30/+0
| | | |
| * | | intel: Drop DRI1 supportKristian Høgsberg2010-01-041-133/+0
| | | | | | | | | | | | | | | | | | | | The DDX driver stopped supporting DRI1 so we're dropping support for that from the DRI driver too.
| * | | Push __driDriverExtensions out of dri_util.c and into the driversKristian Høgsberg2010-01-0415-9/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets the individual drivers select which extensions to advertise. Specifically, most drivers (tdfx, sis, savage etc) don't support DRI2 but the shared extension list in dri_util.c does list the DRI2 extension. Pushing the list into the drivers, lets us avoid listing the DRI2 extension for drivers that don't support it.
| * | | Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg2010-01-04132-574/+569
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
| * | | Check for libdrm_$chipset.pc when neededKristian Høgsberg2010-01-042-2/+4
| | |/ | |/| | | | | | | | | | | | | This adds missing pkg-config lookup for intel and moves the radeon lookup into a case...esac so it's only looked up when one or more of the radeon drivers are enabled.
* | | r600: adjust after radeon mipmap changes in 7118db8700Andre Maasikas2010-01-052-6/+5
| | | | | | | | | | | | | | | | | | R600_OUT_BATCH_RELOC doesn't really use offset so set it in TEX_RESOURCE2 + typo fix
* | | r600: support depth compare functions & shadow_ambientAndre Maasikas2010-01-055-2/+98
| | |
* | | mesa: make texture BorderColor a union of float/int/uintBrian Paul2010-01-0415-45/+45
| | | | | | | | | | | | | | | | | | | | | | | | When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
* | | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-049-47/+65
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
| * i915: Use _MaxLevel on principle in texture setup.Eric Anholt2010-01-041-3/+4
| | | | | | | | | | | | It was OK before because we proceed to clamp the value to hardware limits, but given that other use of MaxLevel has been a trap, let's avoid it.
| * intel: Fix CopyTexImage from tiled mipmap levels > 0.Eric Anholt2010-01-041-2/+3
| | | | | | | | Fixes piglit fbo-copyteximage.
| * i965: Fix the surface offset calculation for tiled buffers.Eric Anholt2010-01-041-20/+30
| | | | | | | | | | | | If we ever had a non-tile-aligned tiled renderbuffer, the math was all off. Use the existing x,y coordinates instead of trying to reconstruct them from an incorrectly-calculated offset value.
| * r600: support vertex_array_bgraAndre Maasikas2010-01-045-6/+25
| | | | | | | | | | Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?