Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-24 | r600: fix state emit sizes | Alex Deucher | |
2009-08-24 | egl_xdri: Revive the driver. | Chia-I Wu | |
egl_xdri does not compile for some time. This commit revives the driver. It no longer depends on libGL.so for GLX related functions. Instead, it uses code from src/glx/ directly. Both DRI and DRI2 are supported. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-24 | glapi: Fix a possible race in getting current context/dispatch. | Chia-I Wu | |
There is a possbile race that _glapi_Context is reset by another thread after it is tested in GET_CURRENT_CONTEXT but before it is returned. We definitely do not want a lock here to solve the race. To have correct results even under a race, no other threads should reset _glapi_Context (or _glapi_Dispatch). This patch adds a new global variable _glapi_SingleThreaded. Since _glapi_Context or _glapi_Dispatch are no longer reset, _glapi_SingleThreaded is tested instead, before accessing them. DRI drivers compiled with this patch applied will not work with existing libGL.so because of the missing new symbol. If this turns out to be a real problem, this patch should be reverted. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-24 | glapi: Static mutex does not work on WIN32_THREADS. | Chia-I Wu | |
This re-introduces the race in _glapi_check_multithread, but avoids a crash on windows. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-24 | glapi: Fix a race in accessing context/dispatch TSD. | Chia-I Wu | |
If multiple threads set/get a TSD at roughly same time for the first time, glthread might (wrongly) initialize it more than once. This patch solves the race by initializing context/dispatch TSDs early. Acked-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-24 | glapi: Protect _glapi_check_multithread by a mutex. | Chia-I Wu | |
Multiple threads might call _glapi_check_multithread at roughly the same time. It is possbile that all of them are wrongly regarded as firstCall if there is no mutex. This bug causes xeglthreads to crash sometimes. Acked-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-24 | mesa: _mesa_layout_parameters() returns a boolean value | Brian Paul | |
2009-08-24 | radeon: Add debug output to radeonCountStateEmitSize. | Pauli Nieminen | |
2009-08-24 | r600: Fix indetion and add useful debug output. | Pauli Nieminen | |
2009-08-24 | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵ | Pauli Nieminen | |
r600_state_predict | |||
2009-08-24 | r300: add support for EXT_framebuffer_blit | Maciej Cencora | |
2009-08-24 | tgsi: Fix build error due to commit acc7da90 | Cooper Yuan | |
2009-08-24 | tgsi: Only free temp uregs. | José Fonseca | |
Shorthand. (cherry picked from commit de911220bbbe74cff0c79b260456ff36122b7b5b) | |||
2009-08-24 | tgsi: Pass pipe_context as a parameter to ureg_create_shader. | José Fonseca | |
Simplifies migration to tgsi_ureg. (cherry picked from commit f574398c07c41cb8d31249a7186fc178ef7d552a) | |||
2009-08-24 | tgsi: add generic instruction builder | Keith Whitwell | |
When translating an incoming shader (rather than building one from scratch) it's preferable to be able to call a single, generic instruction emitter rather than figuring out which of the opcode-specific functions to call. | |||
2009-08-24 | r300g: Set the vector address in the input memory for ↵ | Cooper Yuan | |
bypass_vs_clip_and_viewport case | |||
2009-08-24 | r600: scissor updates for dri2 | Dave Airlie | |
Pulled from Dave's WIP patch. | |||
2009-08-24 | r600: switch to common cs functions | Dave Airlie | |
needed for dri2. Pulled from Dave's WIP patch. | |||
2009-08-24 | r600: map 16 VS outputs | Alex Deucher | |
Should cover everything exported from the VS | |||
2009-08-23 | r600: fix logic copy paste error | Alex Deucher | |
Spotted by airlied. | |||
2009-08-24 | r600: Improve emit prediction. | Pauli Nieminen | |
2009-08-24 | r600: Predict emit size for next rendering. | Pauli Nieminen | |
2009-08-24 | radeon: Fix dri1 ctx emit size. | Pauli Nieminen | |
2009-08-24 | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵ | Pauli Nieminen | |
r600_state_predict Conflicts: src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/radeon/radeon_cmdbuf.h | |||
2009-08-23 | radeon: add radeon_cs_write_table to the legacy path | Alex Deucher | |
2009-08-23 | r600: bump reloc_chunk size | Alex Deucher | |
This fixes openarena reloc errors. This needs to be made more dynamic. | |||
2009-08-23 | r600: fix count for CB/DB target state | Alex Deucher | |
2009-08-23 | r300: fix a typo | Maciej Cencora | |
2009-08-23 | radeon: use proper macro | Maciej Cencora | |
2009-08-23 | radeon: use bo_is_idle interface for checking if OQ result is available | Maciej Cencora | |
2009-08-23 | r300: minor optimization | Maciej Cencora | |
use properly implemented OUT_BATCH_TABLE where possible | |||
2009-08-23 | ARB prog lexer: Fix lexer to eat both DOS and Unix line endings | Ian Romanick | |
2009-08-23 | r600: use persistent bos for shaders | Alex Deucher | |
2009-08-23 | r600: always emit CB base | Alex Deucher | |
Not doing so seems to cause lock-ups or rendering problems on some chips. I think there is an logic issue related to CB and VGT on some chips. We ran into similar issues in r600_demo IIRC. | |||
2009-08-23 | radeon: Fix compilation with legacy memory manager. | Pauli Nieminen | |
2009-08-23 | radeon: Check from kernel if dma buffer is idle. | Pauli Nieminen | |
This makes sure that objects are leaving wait list only when they are processed by gpu. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-22 | r600: make state emit more fine grained | Alex Deucher | |
Gives a nice speed boost in most apps since we only emit what state we need. | |||
2009-08-22 | ARB prog parser: include imports.h to kill some compiler warnings | Luo Jinghua | |
2009-08-22 | r600: move full state to radeon state atoms | Alex Deucher | |
2009-08-22 | r600: add support for RS880 | Alex Deucher | |
2009-08-22 | i965: Implement frag prog DPH like DP4 | Ian Romanick | |
DPH can output to any component, not just to X. This allows fpalu.c to run without hitting the assertion in emit_dph. | |||
2009-08-22 | r300: Fix debug output. | Pauli Nieminen | |
2009-08-22 | st/dri: Remove some debug prints | Jakob Bornecrantz | |
2009-08-22 | st/dri: Find out if the drawable is a pixmap | Jakob Bornecrantz | |
Part of this code is disabled since no performance gains where detected with it enabled. This code only detects if it is a pixmap that it is rendering to on the st/xorg DDX since it sets the fake front to the same handle as front. | |||
2009-08-22 | st/dri: Fix frontbuffer rendering with DRI2 | Jakob Bornecrantz | |
2009-08-22 | st/xorg: Handle fake fronts correctly for pixmaps | Jakob Bornecrantz | |
2009-08-22 | i915g: Remove bad assert on fence | Jakob Bornecrantz | |
2009-08-22 | r300: Fix dri1 not to emit state that is not supported in old drm. | Pauli Nieminen | |
2009-08-22 | radeon/r300: Code clean up and logic fix. | Pauli Nieminen | |
2009-08-22 | glx/dri2: Always use X drawable ID for DRI2 protocol. | Michel Dänzer | |
Fixes protocol errors in cases where the GLX ID is different. |