summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
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
2009-03-24radeon: fixup some issue with fbos and sw fallbacksDave Airlie
2009-03-24radeon/r200/r300: set the texture depth correctly for DRI2Dave Airlie
2009-03-24radeon: actual format is rgba8Dave Airlie
2009-03-24radeon: fix typoDave Airlie
2009-03-24radeon: setup pipes for r300Dave Airlie
2009-03-24radeon: stupid mesa extension failDave Airlie
2009-03-23i965: Fix occlusion query when no other WM state updates occur.Eric Anholt
Turns out that XXX comment was important. We weren't flagging the WM to re-update with the statistics enable, so we got zeroes out of our query. Bug #20740, fixes piglit occlusion_query test. Signed-off-by: Eric Anholt <eric@anholt.net>
2009-03-23radeon: fixup wrapper bo nameDave Airlie
2009-03-23Merge branch 'radeon-fbo-hacking' into radeon-rewriteDave Airlie
2009-03-23raedon/r200/r300: mega-FBO commits.Dave Airlie
Re work depth issues. Do a lot more FBO abstactions fixup depth/stencil buffer interactions
2009-03-22radeon fbo: add draw offset calcsDave Airlie
2009-03-22radeon/r200/r300: add support for new tfp interfaceDave Airlie
also fixup old interface, gets rid of white boxes in compiz
2009-03-22Merge remote branch 'origin/master' into HEADDave Airlie
2009-03-22radeon: use mipmap fns in FBO codeDave Airlie
2009-03-22radeon: add miptree offset functionsDave Airlie
2009-03-21r200: fix for sureDave Airlie
2009-03-21radeon/r200: oops make correct fbo init callsDave Airlie
2009-03-21radeon: add xRGB span functionsDave Airlie
same as ARGB need to add a parameter to get ptr32
2009-03-21radeon: dri2 is hooked up elsewhere nowDave Airlie
2009-03-21radeon/r200: add fbo initDave Airlie
2009-03-21radeon/r200: add fbo state changesDave Airlie
2009-03-21r300: fix viewport inversion for FBOsDave Airlie
2009-03-21radeon: align FBO pitchDave Airlie
2009-03-21radeon: fixup last missing x_off/y_offDave Airlie
2009-03-21radeon: add cpp/pitch to rrbDave Airlie
2009-03-21radeon/fbo: add x_off and y_off in correct placesDave Airlie
2009-03-21radeon: dPriv handling is now in cliprects codeDave Airlie
2009-03-21radeon: fixup span code for FBOsDave Airlie
2009-03-21r300: hw clear buffer 0 hopefullyDave Airlie
2009-03-21radeon: fix up span function settingDave Airlie