summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
AgeCommit message (Collapse)Author
2010-05-26Enable hardware mipmap generation for radeon.Will Dyson
Use _mesa_meta_GenerateMipmap. It is Fast Enough(tm). Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-26Fix image_matches_texture_obj() MaxLevel checkWill Dyson
When generating or uploading a new (higher) mipmap level for an image, we can need to allocate a miptree for a level greater than texObj->MaxLevel. Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-26Fallback to software render if there is no miptree for an imageWill Dyson
This can happen when checking if a software fallback for a higher level operation (such as GenerateMipmap) is needed. Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-02Merge branch 'gles2-2'Kristian Høgsberg
Conflicts: src/mesa/drivers/dri/common/dri_util.h
2010-04-28dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg
2010-04-21radeon: fix warningMarek Olšák
2010-04-28radeon: fix warningsMarek Olšák
2010-04-24radeon: Remove NULL check of bo_legacy->tobj.Vinson Lee
bo_legacy->tobj cannot be NULL before the call to driUpdateTextureLRU. There is a NULL check earlier in the routine, and if bo_legacy->tobj is NULL, memory is allocated.
2010-04-23Merge branch '7.8'Michel Dänzer
2010-04-22radeon: 9800 SE has only one quadpipeTormod Volden
Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2010-04-22DRI2: add config query extensionJesse Barnes
Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options.
2010-04-19Merge branch '7.8'Jesse Barnes
2010-04-19radeon: Let this build with gcc 3.3Matthieu Herrb
Declaring the loop index inside for () is not supported by this version. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-19radeon: Fix command type for DRM_RADEON_IRQ_EMIT ioctl.Owain Ainsworth
This should be drmCommandWriteRead to avoid an EINVAL error on systems that strictly check ioctl args. This command has been r/w for ever. Discussion with airlied agreed that this was the correct course. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-19r300c/r300g: add 3155 rv380 pci idDave Airlie
2010-04-11Merge commit 'origin/7.8'Maciej Cencora
2010-04-10radeon: Remove unnecessary header.Vinson Lee
2010-04-09r600: add new r7xx pci idsAlex Deucher
2010-03-24r100/r200/r300/r600: enable accel for Copy/DrawPixels without kmsAlex Deucher
meta ops should work ok without kms.
2010-03-17Merge branch '7.8' into masterPauli Nieminen
Conflicts: Makefile src/mesa/main/version.h
2010-03-16radeon: Fix buffer object unmap to be called only once for dma buffers.Pauli Nieminen
If flush happens inside radeonRefillCurrentMaRegion the last dma buffer would be unmapped twice. Unmapping buffer when moving buffer to wait list fixes the mapping error.
2010-03-13radeon: add some debuging info for glCopyTex(Sub)ImageMaciej Cencora
2010-03-13radeon: fix gl format to mesa format mapping and add GL_BGRA formatsMaciej Cencora
2010-03-13radeon: fix glCopyTex(Sub)ImageMaciej Cencora
Fallback to swrast for software renderbuffers
2010-03-12Merge branch '7.8'Michel Dänzer
2010-03-12r100/r200/r300/r300: only enable accelerated pixel ops with kmsAlex Deucher
fixes fdo bug 27043
2010-03-12Grammar and spelling fixesJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-11radeon: Fix memory leaks from early return.Vinson Lee
2010-03-10radeon: fallback to sw ReadPixels if color logicop is enabledMaciej Cencora
Fixes glean/logicOp (regressed after introducing hw accelerated support for ReadPixels)
2010-03-10radeon: fix glCopyTex(Sub)Image if user FBO is boundMaciej Cencora
Fixes piglit/fbo-blit and wine d3d9 unit test.
2010-03-10Merge branch '7.8'Michel Dänzer
2010-03-10r100: add additional blit formatsAlex Deucher
2010-03-10radeon/r200/r600: enable HW accelerated gl(Read/Copy/Draw)PixelsAlex Deucher
2010-03-09radeon: mark framebuffer as incomplete if renderbuffer format isn't ↵Maciej Cencora
supported by hw
2010-03-09radeon/r200/r300/r600: add is_format_renderable functionMaciej Cencora
2010-03-09radeon: add hw accelerated glReadPixel support (not enabled yet)Maciej Cencora
2010-03-08radeon: don't attempt to use alternate blit formats for depth buffersAlex Deucher
noticed by fredrikh on IRC.
2010-03-08radeon/r200/r600: allow src and dst BOs to be placed in GTT during blitAlex Deucher
2010-03-08radeon/r200/r600: reset bos when validating buffers during blitAlex Deucher
2010-03-08radeon: no need to emit full state twice after flushMaciej Cencora
2010-03-08radeon: fallback to software in glCopyTexImage if blit isn't availableMaciej Cencora
2010-03-08radeon/r200/r600: allow src and dst BOs to be placed in GTT during blitAlex Deucher
2010-03-08radeon/r200/r600: reset bos when validating buffers during blitAlex Deucher
2010-03-07radeon: handle compressed sRGB texture formatsMaciej Cencora
2010-03-07radeon: move glGetTexImage handlers to seperate fileMaciej Cencora
2010-03-07radeon: Some possible improvements that I spoted in radeon_tiled_texture branch.Maciej Cencora
2010-03-07radeon: properly calculate rowstride for tiled imagesMaciej Cencora
2010-03-07radeon: minor refactoring of mipmap codeMaciej Cencora
2010-03-07radeon: add texture helper functionMaciej Cencora
2010-03-07radeon: add some debugging info to sw tiling/untiling functionsMaciej Cencora