summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r600
AgeCommit message (Collapse)Author
2010-08-02radeon: Add DRI2 flush extension support, so we synchronize properly.Mario Kleiner
When a DRI2 swap buffer is pending we need to make sure we have the flush extension so radeon doesn't resume rendering to or reading from the not yet blitted front buffer. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-08-02Revert "radeon: Add DRI2 flush extension to so we synchronize properly."Jerome Glisse
This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
2010-08-02radeon: Add DRI2 flush extension to so we synchronize properly.Mario Kleiner
When DRI2 swap buffer is pending (copy buffer not pageflipping) we need to make sure we have the flush extension so radeon doesn't resume rendering on the not yet blitted front buffer. Modified version of Jerome's patch to add flush extension in the correct place. This prepares a possible fix for: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-08-02r600: fix sin,cos functions on r600Andre Maasikas
r600 doesnt need the same normalization as r700 - instead it requires range to be truncated to -pi..pi I left the range trunc also effective on r700 althouch according the docs it has sufficent range (-512*PI, +512*PI). The instructions seem to be used not too often to cause perf loss because of this Based on patches and testing by Conn Clark and Alain Perrot
2010-07-29r600: since 8744c36e added asserts - use another random register for shader ↵Andre Maasikas
with no output
2010-07-22r600: Flip point sprite coordinates when rendering to an FBO.Henri Verbeet
This supersedes http://lists.freedesktop.org/archives/mesa-dev/2010-July/001442.html.
2010-07-15r600: fix typo in r700 assemblerAlex Deucher
Noticed by Henri Verbeet on IRC. NOTE: This is a candidate for the 7.8 branch.
2010-07-12r600: Fix include recursion.Vinson Lee
Fix r600_context.h -> r700_oglprog.h -> r600_context.h include recursion.
2010-07-11r600: Remove unnecessary headers.Vinson Lee
2010-07-10r600: Fix GCC 'implication declaration of function' warnings.Vinson Lee
Fix GCC 'implicit declaration of function' compiler warnings resulting from commit 00fb58ed5d7104e675fe48d84e5049e5f7dbb9d7.
2010-07-09r600: Remove unnecessary header.Vinson Lee
Fixes r600_emit.h -> r600_cmdbuf.h -> r600_emit.h include recursion.
2010-07-09r600: Fix include recursion.Vinson Lee
r700_chip.h included r600_context.h, which included r700_chip.h. Remove the unnecessary r600_context.h inclusion and add missing headers.
2010-07-07r600: workaround 3 comp GL_SHORT vertex attribute format on r700Andre Maasikas
guess it's a hw errata?
2010-06-23Merge branch 'shader-file-reorg'Brian Paul
1. Move all GL entrypoint functions and files into src/mesa/main/ This includes the ARB vp/vp, NV vp/fp, ATI fragshader and GLSL bits that were in src/mesa/shader/ 2. Move src/mesa/shader/slang/ to src/mesa/slang/ to reduce the tree depth 3. Rename src/mesa/shader/ to src/mesa/program/ since all the remaining files are concerned with GPU programs. 4. Misc code refactoring. In particular, I got rid of most of the GLSL-related ctx->Driver hook functions. None of the drivers used them. Conflicts: src/mesa/drivers/dri/i965/brw_context.c
2010-06-16r600: GL_COORD_REPLACE state is only relevant when point sprites are enabled.Henri Verbeet
2010-06-16r600: fix warningsMarc
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2010-06-08r600: Make next_inst() static.Henri Verbeet
2010-06-08r600: Assert output registers have a valid export index.Henri Verbeet
2010-06-08r600: Process exports for all written fragment outputs.Henri Verbeet
2010-06-08r600: Fill uiFP_OutputMap for all written fragment outputs.Henri Verbeet
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-26r600: add support for more rendering formatsAlex Deucher
2010-04-26r600: avoid setting invalid bit on r7xx for blitsAlex Deucher
2010-04-26r600: enable VERT_RESULT_PSIZ - makes point size & attenuation workAndre Maasikas
doc additions: shader export ARRAY_BASE for EXPORT_POS: 60 is position, 61 is misc vec(VS_OUT_MISC_VEC - used here), 62, 63 are clip distance vectors(VS_OUT_CCDIST#) sorry for formating - there seem to be so many different styles in r600
2010-04-26r600: adjust point sprites after 911fa4a4a1Andre Maasikas
there's no more vp results for point coords so we cannot iterate over vp outputs. Use only Point.CoordReplace[i]
2010-04-23Merge remote branch 'origin/7.8'Jerome Glisse
2010-04-23r600: don't enable depth test if there is no depth bufferJerome Glisse
If there is no depth buffer bound to current context don't enable depth test. GL states that if depth test is enabled without depth buffer it's as if depth buffer always pass. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
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-16Correct GL_EQUIV code in r67/7xx.Matthew W. S. Bell
From 247e121106e8d3e389f2e5a6edf13ea70ac18df7 Mon Sep 17 00:00:00 2001 These seem to be documented in <http://www.svgopen.org/2003/papers/RasterOperationsUsingFilterElements/index.html>.
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-12dri/r700: include shader/programopt.h instead of programopt.c.Luc Verhaegen
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-10radeon/r200/r600: enable HW accelerated gl(Read/Copy/Draw)PixelsAlex Deucher
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-08Merge branch '7.8'Brian Paul
2010-03-08r600: enable GL_ARB_pixel_buffer_objectAlex Deucher
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-08r600: recalculate point size, if point min/max size changesAlex Deucher
2010-03-08r600: no need to flush on context initAlex Deucher
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-08r600: recalculate point size, if point min/max size changesAlex Deucher
2010-03-08r600: no need to flush on context initAlex Deucher
2010-03-07radeon: move glGetTexImage handlers to seperate fileMaciej Cencora
2010-03-07radeon: added tiling functionsMaciej Cencora