summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
AgeCommit message (Collapse)Author
2009-11-20Merge remote branch 'origin/mesa_7_7_branch'Dave Airlie
2009-11-20r100: fix texture_from_pixmap and compiz.Dave Airlie
r100 state emission has separate rect and non-rect states, if we are doing TFP for a TEXTURE_2D we shouldn't use the rect states as they won't get emitted properly. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-19tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]Eric Anholt
2009-11-19tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.Eric Anholt
2009-11-19tnl: Replace deprecated ObjPtr with AttribPtr[_TNL_ATTRIB_POS]Eric Anholt
2009-11-19tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]Eric Anholt
2009-11-19tnl: Replace NormalPtr with AttribPtr[_TNL_ATTRIB_NORMAL]Eric Anholt
2009-11-18Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branchMaciej Cencora
2009-11-17radeon: align for mipmap tree changesMaciej Cencora
2009-11-17r300: fix reads and writes for MESA_FORMAT_S8Z24 bufferMaciej Cencora
Regression was introduced by texformat-rework branch merge.
2009-11-17r600: More span breakage fixes.Michel Dänzer
At least now the compiler doesn't complain about implicitly declared functions anymore...
2009-11-17r600: Attempt to fix span breakage introduced by big endian fixes.Michel Dänzer
Only compile tested; I happened to notice people on IRC reporting .../r600_dri.so: undefined symbol: radeon_ptr_2byte_8x2
2009-11-17radeon: Depth/stencil span code fixes for big endian.Michel Dänzer
Fixes e.g. text in progs/demos/arbocclude.
2009-11-17radeon: Fix occlusion queries on big endian.Michel Dänzer
2009-11-17radeon: Fix software fallbacks with KMS on big endian.Michel Dänzer
2009-11-17radeon: FBO fixes for big endian.Michel Dänzer
2009-11-17radeon: rn50's have no 3D engine so don't try and init 3D driver.Dave Airlie
2009-11-14radeon: return false on texture validation if texture isn't completeMaciej Cencora
2009-11-14radeon: rework mipmap treeMaciej Cencora
2009-11-14radeon: more texture code refactoringMaciej Cencora
2009-11-14radeon: minor refactoring of texture codeMaciej Cencora
Also properly set dstImageOffsets for TexSubImage case.
2009-11-14radeon: rework mipmap tree reference countingMaciej Cencora
2009-11-14radeon: use radeon_bo_is_referenced_by_cs for query objectsMaciej Cencora
2009-11-14radeon/r300: don't flush cmdbuf if not necessaryMaciej Cencora
2009-11-14radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM ↵Maciej Cencora
mode
2009-11-14radeon: fix glBufferSubDataMaciej Cencora
2009-11-14radeon: add radeon_bo_is_referenced_by_cs functionMaciej Cencora
2009-11-14radeon: remove unnecessary call to radeonEmitStateMaciej Cencora
fixes bo space accounting errors
2009-10-31radeon: add missing includeDave Airlie
2009-10-31radeon: use _mesa_get_current_tex_unitDave Airlie
2009-10-29radeon: fix incorrect Z format in radeon_alloc_renderbuffer_storage()Brian Paul
And update error message.
2009-10-28Merge branch 'texformat-rework'Brian Paul
Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
2009-10-28r600: add occlusion query supportAlex Deucher
Based on initial patch from Stephan Schmid <stephan_2303@gmx.de>. Basic idea is to dump the zpass count at the start and end of the query and subtract to get the total number of visible fragments. HW writes alternating qwords for up to 4 DBs. On the first pass, we start at buffer address + 0; on the second pass, we start at buffer address + 8 (bytes). The resulting buffer at the end of the query looks like: qw[0]: db0 start qw[1]: db0 end ... qw[6]: db3 start qw[7]: db3 end The MSB of each qword is the valid bit and the lower 63 bits are the zpass count for that DB. OQ on RV740 is disabled at the moment as it only seems to report results for half of its DBs. This needs further investigation. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-27radeon: add case for MESA_FORMAT_X8_Z24 in radeon_create_renderbuffer()Brian Paul
2009-10-25mesa: choose texture format in core mesa, not driversBrian Paul
Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's _mesa_[Copy]TexImage functions instead of in the driver functions. One less thing for drivers to do.
2009-10-25mesa: remove calls to _mesa_compressed_row_stride()Brian Paul
2009-10-24mesa: remove _mesa_compressed_texture_size()Brian Paul
Use _mesa_format_image_size() instead.
2009-10-24mesa: change compressed texture size callsBrian Paul
Replace calls to ctx->Driver.CompressedTextureSize with calls to _mesa_format_image_size. The former always called the later.
2009-10-23mesa: Enable remap table in core.Chia-I Wu
This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-22radeon: simplify radeon_create_renderbuffer()Brian Paul
2009-10-22r600: fix depth span macros for format changesAlex Deucher
2009-10-22radeon: fix some renderbuffer format bugsBrian Paul
2009-10-21radeon: get rid of z24s8 <-> s8z24 conversions in span codeBrian Paul
Can just use s8z24 everywhere. Note: the WRITE_DEPTH macro for R600 may need to be fixed.
2009-10-21radeon: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24Brian Paul
Core Mesa deals with MESA_FORMAT_S8_Z24 everywhere it should so we shouldn't have to use MESA_FORMAT_Z24_S8 anymore.
2009-10-19Merge branch 'mesa_7_6_branch' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa regenerated lex.yy.c
2009-10-16mesa: lift default symlinks target into Makefile.templateBrian Paul
Driver Makefiles can still add symlink dependencies/rules if needed.
2009-10-15Use the right pitch when rendering to a textureOwen Taylor
We need to get the pitch from the texture level we are rendering to, rather than just using the base texel width.
2009-10-15radeon: return EINVAL for 0 length buffers.Robert Noland
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-14radeon: initialize renderbuffer Format field in radeon_create_renderbuffer()Brian Paul
Plus, use MESA_FORMAT_S8_Z24 everywhere.
2009-10-10Merge branch 'mesa_7_6_branch'Brian Paul