aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* R6xx/R7xx: add fine grained syncing supportAlex Deucher2009-07-173-52/+50
|
* R6xx/r7xx: send depth state in it's own functionAlex Deucher2009-07-172-96/+65
|
* st/egl: Fix broken build after EGL thread changesAndrew Randrianasulu2009-07-181-1/+1
|
* R200: fix build when RADEON_DEBUG_BO is setAlex Deucher2009-07-171-0/+6
|
* radeon: disable BO debugDave Airlie2009-07-181-1/+1
|
* egl: commit missing eglcurrent.[ch] filesBrian Paul2009-07-172-0/+375
| | | | Not sure how these got left out from earlier commit.
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Alex Deucher2009-07-1743-846/+1903
|\ | | | | | | into r6xx-rewrite
| * xeglthreads: Check current context for EGL per-thread support.Chia-I Wu2009-07-171-2/+9
| | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * egl: Remove redundant DeletePending flag.Chia-I Wu2009-07-1713-69/+47
| | | | | | | | | | | | | | | | A context or surface that is neither linked to a display nor current to a thread should be destroyed. Therefore, an unlinked context or surface implies a pending delete automatically. Signed-off-by: Chia-I Wu <[email protected]>
| * egl: Destroy display's resources upon termination.Chia-I Wu2009-07-173-3/+37
| | | | | | | | | | | | eglTerminate should destroy the contexts and surfaces of the display. Signed-off-by: Chia-I Wu <[email protected]>
| * egl: Return the same EGL Display for the same native display.Chia-I Wu2009-07-173-3/+34
| | | | | | | | | | | | | | The latest revision of the spec explicitly requires the same handle to be returned for the same native display. Signed-off-by: Chia-I Wu <[email protected]>
| * egl: Use the link functions to manage resources.Chia-I Wu2009-07-1714-160/+143
| | | | | | | | | | | | | | | | This commit uses the newly introduced link functions to manage EGL contexts and surfaces. As a result of this, the API for drivers are changed. All drivers are updated for the change. Signed-off-by: Chia-I Wu <[email protected]>
| * egl: Add funtions to link contexts and surfaces to displays.Chia-I Wu2009-07-177-100/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EGL contexts and surfaces are resources of displays. They should be managed by displays. This commit adds a bunch of functions to egldisplay.c to help establish the links between contexts/surfaces and displays. How links are established is considered opaque outside display. Functions like _eglGetSurfaceHandle or _eglLookupSurface are therefore moved to egldisplay.c, with some small modifications. The idea is also extended to display. That is, displays need to link to themselves to be looked up. This commit only adds the functions. A commit to use them should follow. Signed-off-by: Chia-I Wu <[email protected]>
| * egl: Extend per-thread info for multiple current contexts.Chia-I Wu2009-07-172-10/+41
| | | | | | | | | | | | | | EGL allows multiple current contexts, as long as they are bound to different client APIs. Signed-off-by: Chia-I Wu <[email protected]>
| * egl: Support per-thread info.Chia-I Wu2009-07-1711-196/+23
| | | | | | | | | | | | | | | | | | This commit introduces a "current" system to manage per-thread info. It uses TLS, if GLX_USE_TLS is defined, or pthread, if PTHREADS is defined. If none of them are defined, it uses a dummy implementation that is just like before. Signed-off-by: Chia-I Wu <[email protected]>
| * egl: Add eglcompiler.h for compiler features.Chia-I Wu2009-07-173-0/+33
| | | | | | | | | | | | | | | | Only INLINE (from mesa/main/compiler.h) is defined now. It may be used to deal with symbol visibility and int/pointer conversion in the future. Signed-off-by: Chia-I Wu <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * texenv: Calculate whether we need to do secondary color on our own.Eric Anholt2009-07-162-4/+16
| | | | | | | | | | | | | | | | The _TriangleCaps bit is deprecated, not updated when we require, and is set based on state that hasn't been updated at that point in _mesa_update_state_locked(). Fixes incorrect clear color in glsl/twoside.c with meta_clear_tris.
| * i965: Add missing state dependency of sf_unit on _NEW_BUFFERS.Eric Anholt2009-07-161-2/+4
| |
| * draw: fix ppc build regressionKeith Whitwell2009-07-161-0/+1
| | | | | | | | Found by x.org tinderbox, reported by Chris Ball.
| * st/mesa: add some array index bounds assertionsBrian Paul2009-07-161-0/+5
| |
| * egl: Add xeglthreadsChia-I Wu2009-07-163-0/+775
| | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
| * tgsi: simplify and fix sse KIL implementationKeith Whitwell2009-07-161-36/+28
| | | | | | | | | | | | Use sse_movmskps to extract the correct bits of the comparison result for use in updating the killmask. Simplify some logic around identifying the set of necessary comparisons to make.
| * rtasm: export sse_movmskpsKeith Whitwell2009-07-162-0/+10
| |
| * tgsi: initial texturing support on sse pathKeith Whitwell2009-07-162-19/+184
| | | | | | | | | | Most obvious problem is drawpixels comes out blocky, but this may be an existing issue of KIL on the sse path.
| * tgsi: make sse function callout mechanism more genericKeith Whitwell2009-07-161-40/+48
| | | | | | | | Take a list of arguments rather than hardcoding TEMP_R0.
| * tgsi: reduce x86 reg usage in tgsi_sse generated programsKeith Whitwell2009-07-164-150/+115
| | | | | | | | | | | | Pass the tgsi_exec_machine struct in directly and just hold a single pointer to this struct, rather than keeping one for each of its internal members.
| * tgsi: no need to separately malloc input and output arraysKeith Whitwell2009-07-162-27/+6
| | | | | | | | Can now guarantee alignment in the initial allocation of the tgsi exec machine.
| * gallium: reduce recursive include of tgsi_exec.hKeith Whitwell2009-07-165-1/+7
| | | | | | | | A lot of draw code no longer needs to see this header.
| * tgsi: make function call code in tgsi_sse.c less opaqueKeith Whitwell2009-07-162-25/+92
| | | | | | | | | | | | Explictly pass src and dst arguments (previously dst argument was also being used as a src). Separate argument handling from the rest of the function call emit.
| * gallium: proper constructor and destructor for tgsi_exec_machineKeith Whitwell2009-07-167-53/+71
| | | | | | | | | | Centralize the creation, initialization and destruction of this struct. Use align_malloc instead of home-brew alternatives.
* | R6xx/r7xx: warning fixesKevin DeKorte2009-07-175-0/+11
| | | | | | | | patch from Kevin DeKorte with some minor fixes from me.
* | R6xx/r7xx: disable depth/stencil compression for nowAlex Deucher2009-07-171-0/+2
| |
* | R6xx/r7xx: add some missing state regsAlex Deucher2009-07-172-23/+28
| |
* | R6xx: fix rendering on r6xx/rs780 chipsAlex Deucher2009-07-163-1/+43
| | | | | | | | | | | | You always need to emit a fetch shader (fs) even if you aren't using it. For now, just emit the fs with the vs address to make the kernel happy.
* | Warning fixesKevin DeKorte2009-07-163-16/+19
| |
* | R6xx/r7xx: remove unused functionAlex Deucher2009-07-161-109/+1
| | | | | | | | Spotted by kdekorte on IRC
* | Restore vp input mapping, fix vtx stream missing problem.Richard Li2009-07-162-15/+12
| |
* | Fix more merge falloutAlex Deucher2009-07-162-2/+1
| |
* | R6xx/r7xx: warning fixesKevin DeKorte2009-07-155-1/+20
| |
* | R6xx/r7xx: fix missing vertex streamRichard Li2009-07-151-17/+15
| | | | | | | | | | | | Somehow context->radeon.tcl.aos[j].bo is not null sometimes, but it is safe for now because it is only a pointer to dma.current so overwriting it would not hurt anything.
* | radeon bo: Fix merge fall outAlex Deucher2009-07-151-0/+7
| |
* | R6xx/r7xx: more Makefile fixesAlex Deucher2009-07-151-2/+4
| |
* | Fix r600 makefile for lastest CS changesAlex Deucher2009-07-151-0/+4
| |
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Alex Deucher2009-07-15585-10631/+50643
|\| | | | | | | | | | | | | into r6xx-rewrite This builds, but I get an assertion in radeonGetLock() due to the drawable being null.
| * radeon: update span reading micro tile codeDave Airlie2009-07-151-103/+67
| | | | | | | | tested on r500 with zreaddraw with Z buffer in all 3 modes
| * r300: emit z depth pitch reloc in preparation for tilingDave Airlie2009-07-151-7/+17
| |
| * radeon: r300 fix span reading for macro tiled buffers.Dave Airlie2009-07-151-6/+7
| | | | | | | | this uses the correct formula for macro tiled buffers for readback
| * radeon: for tiling you really need to use GET/PUT VALUE not PTR.Dave Airlie2009-07-151-1/+5
| | | | | | | | since the surfaces aren't linear you can't just use GET_PTR
| * i965: the offset of any branch/jump instruction is in unit of 64bits on IGDNGXiang, Haihao2009-07-152-6/+24
| |
| * intel/radeon: add common metaops code.Dave Airlie2009-07-1518-871/+684
| | | | | | | | | | Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.