summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2009-04-03i965: new and updated commentsBrian Paul
2009-04-03i965: comments for brw_SAMPLE()Brian Paul
2009-04-03i965: comments for sampling codeBrian Paul
2009-04-03i965: add support for float literal instruction operandsBrian Paul
Call the get_src_reg_imm() function when it's permissible to generate a literal value src register.
2009-04-03i965: remove 'nr' param from get_src/dst_reg() functionsBrian Paul
The value was always 1.
2009-04-03i965: fix comment typoBrian Paul
2009-04-03i965: comments, clean-up in prepare_wm_surfaces()Brian Paul
2009-04-03i965: remove unneeded #includesBrian Paul
2009-04-03i965: formatting clean-upsBrian Paul
2009-04-03i965: comments, whitespace changesBrian Paul
2009-04-03i965: rename scratch_buffer -> scratch_bo to be consistant with other buffersBrian Paul
2009-04-03i965: fix indentationBrian Paul
2009-04-03i965: whitespace changes, commentsBrian Paul
2009-04-02dri glx: Fix dri_util::driBindContextThomas Hellstrom
1) Don't error-check here. It's done in glx makeCurrent. 2) Allow ctx and the dri drawables to be NULL for future use. This is currently blocked in glx makeCurrent. 3) Avoid updating dri drawables unless they are completely uninitialized. Since the updating was done outside of the lock, the driver need to verify and redo it anyway. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-02dri glx: Propagate driver MakeCurrent errors.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-02radeon/r200/r300: fix up the whole buffer space checking.Dave Airlie
This fixes up the buffer validation scheme, so that we keep a list of buffers to validate so cmdbuf flushes during a pipeline get all the buffers revalidated on the next emit. This also fixes radeonFlush to not flush unless we have something useful to send to the GPU, like a DMA buffer or something not state
2009-04-02radeon/common: use glCtx not ctxDave Airlie
2009-04-02radeon/r200/r300: collapse context destruction down to a common path.Dave Airlie
Context destruction was nearly the same over all the drivers, so collapse it down.
2009-04-02radeon: tiling supportDave Airlie
2009-04-01dri: use BorderColor instead of _BorderChanBrian Paul
2009-04-02r300: fix qtdemo qt4 startupDave Airlie
2009-04-01radeon: go back and repick texture formats.Dave Airlie
This might trip up some serious FBO users, will have to see, but it avoids the slow paths for all the demos I have.
2009-04-01radeon: fixup render buffer cleanupsDave Airlie
this fixes qtdemo-qt4 starting and a leak in glxgears exit
2009-03-31radeon/dri2: if the depth buffer is 16-bit force cpp == 2Dave Airlie
This is because the DDX always allocates using the drawable sizes. which gives me twice the depth buffer I asked for, dumb.
2009-03-31radeon: fix pixel readback for RGB8 testsDave Airlie
2009-03-31r200: fix glean pixelFormats regressionDave Airlie
2009-03-31r300: fix stencil clearsDave Airlie
2009-03-31r200: only set all dirty on kernel clearsDave Airlie
2009-03-31radeon/r200: fix glean failures on readPixSanity since EXT_DEPTH_STENCIL supportDave Airlie
2009-03-31r200: fix veclinear emissionDave Airlie
2009-03-30intel: Avoid mapping the texture image for CopyTex{,Sub}ImageAdam Jackson
We don't upload the pixels with the CPU in that case, so the map will only serve as a way of triggering cache flushes over a bunch of data we don't touch.
2009-03-30radeon: fix readback problem for piglit testsDave Airlie
2009-03-28i965: srgb texture fixesRoland Scheidegger
i965 can either do SRGBA8_REV format or SARGB8 format, but not SRGBA8. Could add SRGBA8_REV support to mesa, but simply use SARGB8 for now. While here, also add true srgb luminance / luminance_alpha support - unfortunately the published docs fail to mention which asics support this, tested on g43 so assume this works on any g4x.
2009-03-28i965: add support for signed rgba texture formatRoland Scheidegger
2009-03-28fix various small intel blitter issuesRoland Scheidegger
use color format constants instead of magic numbers remove handling of cpp 0 or 3 (neither is possible) in various places don't misconfigure 8 bit surface blits as rgb565
2009-03-26radeon/r200/r300: set correct row stride for rbsDave Airlie
2009-03-26r300: check buffer sizes in non-tcl case + set correct VRAM limitsDave Airlie
2009-03-26radeon: fixup map/unmap texture to work with override BOsDave Airlie
if you hit this you've already failed but we shouldn't crash
2009-03-26r200: add fbo files to the compileDave Airlie
2009-03-25r300: cleanup swtcl a littleMaciej Cencora
- remove disabled code - silence compiler warnings (uinitialized values) - remove unneeded code
2009-03-25Convert u_int*_t to C99 standard uint*_tAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25r300_cmdbuf.c: convert cast to a form supported by Sun ccAlan Coopersmith
Fixes Sun cc error: "r300_cmdbuf.c", line 142: invalid cast expression Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25r300: Texture size limit cleanups.Michel Dänzer
Since core Mesa MAX_TEXTURE_LEVELS was bumped, we were incorrectly advertising a maximum texture size of 4096 on older chips, causing corrupted menu text in Extreme Tux Racer or Armagetron. Also make sure our texture image array can actually hold all the mipmap levels we support...
2009-03-24i965: fix point rasterization when rendering to FBORobert Ellison
The FBO pixel coordinate system, with (0,0) as the upper-left pixel, is inverted in Y compared to the normal OpenGL pixel coordinate system, which has (0,0) as its lower-left pixel. Viewport and polygon stipple are sensitive to this inversion; so is point rasterization. The basic fix is simple: when rendering to an FBO, instead of the normal RASTRULE_UPPER_RIGHT that's appropriate for OpenGL windows, use the Y inversion RASTRULE_LOWER_RIGHT. Unfortunately, current Intel documentation has this value listed as "Reserved, but not seen as useful". It does work on at least some i965-class devices, though; and the worst that could happen if an older device didn't support it would be incorrect point rasterization to FBOs, which is what happens already, so this fix is at least no worse than what happens presently, and is better for some (and possibly all) i965-class devices.
2009-03-24radeon/r200/r300: fix warningsDave Airlie
2009-03-23i965: Fix glFrontFacing in twoside GLSL demo.Eric Anholt
This also cuts instructions by just using the existing bit in the payload rather than computing it from the determinant in the SF unit and passing it as a varying down to the WM. Something still goes wrong with getting the backface color right, but a simpler shader appears to get the right result.
2009-03-23i965: Fix fog coordinate g,b,a values when glFrontFacing isn't used.Eric Anholt
Previously, we would sample (f,glFrontFacing,undef,undef) instead of the (f,0,0,1) that fragment.fogcoord is supposed to return. Due to glFrontFacing's presence in FOGC.y, we'll still give bad results there when glFrontFacing is used. Bug #19122, piglit testcase fp-fog.
2009-03-23i965: Clean up a bit of mess with unneeded variables in emit_interp.Eric Anholt
2009-03-23i965: Fix trailing "d" in debug output for 3DSTATE_VERTEX_ELEMENTS.Eric Anholt
2009-03-24r300: remove lock.h linkDave Airlie