summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* mesa: use _mesa_is_bufferobj()Brian Paul2009-08-1212-46/+49
|
* mesa: use _mesa_is_bufferobj()Brian Paul2009-08-121-17/+17
|
* mesa: new _mesa_is_bufferobj() functionBrian Paul2009-08-121-0/+12
| | | | | Tests if the given buffer object is a user-created, non-default buffer object. Use this instead of testing bufferobj->Name != 0.
* i965: Make the cube mapping RCP use a writemask.Eric Anholt2009-08-121-2/+2
| | | | Fixes cube mapping since the scalar changes.
* i965: Allocate destination registers for GLSL TEX instructions contiguously.Eric Anholt2009-08-121-0/+24
| | | | | | This matches brw_wm_pass*.c behavior, and fixes the norsetto shadow demo. Bug #19489
* i965: drop dead scalar handling in GLSL.Eric Anholt2009-08-122-14/+0
|
* i965: Correct brw_wm_nr_args for WM_DELTAXY and WM_PIXELXY.Eric Anholt2009-08-121-2/+2
|
* i965: Drop GLSL ABS code, which is translated away in brw_wm_fp.Eric Anholt2009-08-121-20/+0
|
* i965: Drop code for emitting OPCODE_SUB, since brw_wm_fp.c makes it an ADD.Eric Anholt2009-08-121-21/+0
|
* i965: Store the dispatch width in the WM compile struct.Eric Anholt2009-08-122-0/+3
| | | | I'll be using this in merging brw_wm_emit.c and brw_wm_glsl.c
* i965: Handle scalar result swizzling in shared GLSL/non-GLSL code.Eric Anholt2009-08-125-69/+103
| | | | | This is preparation for merging of brw_wm_glsl.c and brw_wm_emit.c, and glsl.c doesn't swizzle channel results around.
* i965: Flag ARL-using programs as requiring brw_wm_glsl.cEric Anholt2009-08-121-0/+1
| | | | This doesn't fix the glean testcase, but I guess it provides hope.
* i965: Remove some unused WM opcode args.Eric Anholt2009-08-121-6/+4
|
* i965: Avoid re-uploading the index buffer when we don't need to.Eric Anholt2009-08-125-16/+55
| | | | No performance difference proven at 95% confidence with my GLSL demo (n=10).
* r600: fix warningAlex Deucher2009-08-122-3/+3
|
* r600: state cleanupsAlex Deucher2009-08-124-52/+40
|
* r600: clean up Create/DestroyContextAlex Deucher2009-08-123-15/+6
|
* r200: Prevent TexGenMatrix from leaking when destroying r200 context.Pauli Nieminen2009-08-122-5/+17
| | | | Signed-off-by: Pauli Nieminen <[email protected]>
* vbo: fix incorrect pointerBrian Paul2009-08-121-1/+1
|
* glsl: add gl_Vertex, gl_Normal, etc to list of active attributesBrian Paul2009-08-121-0/+19
| | | | | | If a vertex shader uses gl_Vertex, gl_Normal, etc, we need to include them when the user queries the list of active attributes. Before this we were just including the user-defined attributes.
* glsl: move predefined shader input/output info/code to slang_builtin.cBrian Paul2009-08-124-103/+199
| | | | | This is a more logical place for this code. Also add some functions for querying vertex shader input names, types, etc.
* vbo: Avoid extra validation of DrawElements.Eric Anholt2009-08-1217-117/+156
| | | | | | | | | | | | | This saves mapping the index buffer to get a bounds on the indices that drivers just drop on the floor in the VBO case (cache win), saves a bonus walk of the indices in the CheckArrayBounds case, and other miscellaneous validation. On intel it's a particularly a large win (50-100% in my app) because even though we let the indices stay in both CPU and GPU caches, we still end up waiting for the GPU to be done with the buffer before reading from it. Drivers that want the min/max_index fields must now check index_bounds_valid and use vbo_get_minmax_index before using them.
* radeon: Minor warnings cleanup.Eric Anholt2009-08-125-7/+16
|
* i965: Use _MaxElement instead of index-calculated min/max for VBO bounds.Eric Anholt2009-08-121-2/+3
|
* radeon: Add protection against recursive DRM locking.Pauli Nieminen2009-08-124-3/+64
| | | | | | | | | | Reference counting protects DRM lock call from recursive locking that would cause hang. Code also adds optional debugging output for recursive call that is compiled only if NDEBUG is not defined. This code is not 100% thread safe because mesa doesn't include increment and test atomic operation. There is built-in gcc functions but they are only available from gcc 4.2.
* st/xorg: Acquire/drop DRM master in order to work with multiple servers.Michel Dänzer2009-08-121-0/+15
|
* gallium/glx/xlib: main/ prefix on Mesa includes, remove -I$(TOP)/src/mesa/main/Brian Paul2009-08-124-10/+9
|
* gallium/glx/xlib: updated commentsBrian Paul2009-08-123-4/+2
|
* gallium/glx/xlib: delete fakeglx.hBrian Paul2009-08-121-41/+0
|
* gallium/glx/xlib: rename fakeglx.c to glx_api.cBrian Paul2009-08-123-2/+2
|
* gallium/glx/xlib: delete glxapi.hBrian Paul2009-08-121-36/+0
|
* gallium/glx/xlib: rename fakeglx_fonts.c to glx_usefont.cBrian Paul2009-08-123-2/+2
|
* gallium/glx/xlib: rename glxapi.c to glx_getproc.cBrian Paul2009-08-123-2/+3
|
* gallium/glx/xlib: don't include fakeglx.hBrian Paul2009-08-121-1/+0
|
* gallium/glx/xlib: overhaul and simplification of the Gallium Xlib-based GLXBrian Paul2009-08-124-1574/+280
| | | | | | | | | The old GLX dispatch table stuff isn't needed (same story for the Mesa/Xlib driver). The intention of that code was being able to switch on the fly between the real GLX library and the fake/Xlib-based emulation. That hasn't been used in a long time. Next up: some file renaming.
* r600: A shader is bound that exports Z as a float into Red channelCooper Yuan2009-08-122-0/+4
|
* egl: Use _eglAddAtExitCall to free thread infos and displays.Chia-I Wu2009-08-112-3/+4
| | | | | | | Thread infos and displays are usually not freed by applications. This commit add atexit calls to free them. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Add _eglAddAtExitCall.Chia-I Wu2009-08-112-0/+49
| | | | | | | Add a convenient wrapper to register atexit calls. Add mutex to _eglGlobal along the way. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Make _eglGlobal initialize statically.Chia-I Wu2009-08-113-37/+6
| | | | | | | Now that display and surface hash tables are moved out, _eglGlobal can be initialized statically. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Implement _eglFiniDisplay.Chia-I Wu2009-08-111-1/+17
| | | | | | | _eglFiniDisplay is called at exit time to free allocated displays. It is, however, not used right now. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Make display and surface hash tables local.Chia-I Wu2009-08-114-22/+78
| | | | | | | Move display and surface hash tables to egldisplay.c, and have them initialized on demand. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Initialize current thread management on demand.Chia-I Wu2009-08-113-30/+19
| | | | | | | | | | Current thread management was initialized in _eglInitGlobals, which is called only in eglGetDisplay. Since EGL does not require eglGetDisplay to be called first, the initialization is better to be done on demand. _eglFiniCurrent is removed, as it is not called at all. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Destroy eglThreadInfo on thread exit.Chia-I Wu2009-08-111-16/+73
| | | | | | | | | | This is done through pthread TSD destructor. It destroys all thread infos except for main thread's. The thread info of the main thread is destroyed by _eglFiniCurrent. TLS case is not supported yet. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Add eglmutex.h.Chia-I Wu2009-08-112-0/+53
| | | | | | | The implementation uses pthread mutex when available. Otherwise, it is no-op. Signed-off-by: Chia-I Wu <[email protected]>
* glx: fix signedness warningRALOVICH, Kristóf2009-08-111-1/+1
|
* mesa: handle glDrawPixels images which are larger than max rect texture sizeBrian Paul2009-08-111-3/+47
|
* mesa: added _mesa_meta_draw_pixels()Brian Paul2009-08-112-1/+188
|
* mesa: added META_FOG and optimize some meta_begin/end() codeBrian Paul2009-08-112-28/+36
|
* gallium/trace: remove stray semicolonsBrian Paul2009-08-111-2/+2
|
* gallium/xlib: add missing tex_usage parameterBrian Paul2009-08-111-0/+1
|