aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'origin' into glsl-compiler-1Brian2007-03-092-1/+2
|\ | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * Fix/improve framebuffer object reference counting.Brian2007-03-061-2/+1
| | | | | | | | | | | | | | Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions to be sure reference counting is done correctly. Additional assertions are done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as that's more accurate.
| * fix for bug#10182Xiang, Haihao2007-03-061-1/+2
| | | | | | | | | | call _mesa_dereference_framebuffer instead of _mesa_dereference_framebuffer in i810, i915, i915tex, i965 drivers.
| * fix for bug#9971Xiang, Haihao2007-03-051-0/+1
| | | | | | | | call swsetup_Wakeup before falling back to software rendering
* | Update DRI drivers for new glsl compiler.Brian2007-02-2317-106/+80
|/ | | | | | Mostly: - update #includes - update STATE_* token code
* I965: fix a failure on waiting irq.Xiang, Haihao2007-02-121-1/+2
| | | | | Wait until getting the right fence if drm/i915 resets the counter.
* Merge branch 'vbo-0.2'Keith Whitwell2007-02-0229-4845/+213
|\ | | | | | | | | | | | | Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
| * Modify assert to reflect rebase criteriaKeith Whitwell2007-02-021-1/+9
| |
| * Correct usage/meaning of max_index parameter.Keith Whitwell2007-02-012-2/+4
| |
| * Cope with internally-generated null inputs.Keith Whitwell2007-02-011-3/+6
| |
| * Use new rebase helper. Remove other rebase code.Keith Whitwell2007-01-302-90/+68
| |
| * Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Keith Whitwell2007-01-1633-174/+596
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
| * | merge current trunk into vbo branchAlan Hourihane2006-11-023-44/+25
| | |
| * | cleanup code, compiles with vbo changesKeith Whitwell2006-10-3115-612/+98
| | |
| * | switch several dri drivers overKeith Whitwell2006-10-302-5/+4
| | |
| * | checkpoint - remove dead files, otherwise untestedKeith Whitwell2006-10-3020-4114/+42
| | |
* | | Bug #9604: Fix a static buffer allocation failure.Eric Anholt2007-01-263-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | The pool that the static buffer got allocated from was sized by pitch * height, but the buffer generated from it had its size aligned to a tile boundary, so allocation failed if pitch * height wasn't aligned. However, the 2d driver ensures that the size ends at a tile boundary, so just pass the 2d driver's buffer size rather than calculating it.
* | | Add _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.Eric Anholt2007-01-261-1/+1
| | |
* | | Remove dead code causing a warning.Eric Anholt2007-01-261-5/+0
| | |
* | | ARB_Occlusion_query should support multiple query at same timeZou Nan hai2007-01-262-4/+4
| | |
* | | 965 glxswapcontrol fixZou Nan hai2007-01-241-0/+9
| | |
* | | 965 ARB_Occlusion_query fixZou Nan hai2007-01-243-16/+19
| | |
* | | I965: fix bug#9625-get the correct PV for quardstripXiang, Haihao2007-01-173-1/+15
| |/ |/| | | | | | | The order of vertices in payload for quardstrip is (0, 1, 3, 2), so the PV for quardstrip is c->reg.vertex[2].
* | Various warning fixes for i965 driver.Keith Packard2007-01-065-8/+9
| | | | | | | | | | vertex/fragment programs provided as const. bmSetFenceLock should return bmSetFence value.
* | Initialize GL_ARB_occlusion_query only if DRM support is present.Keith Packard2007-01-061-2/+6
| | | | | | | | | | DRM versions before 1.8 do not include the necessary ioctls to support GL_ARB_occlusion_query, don't enable it on these versions.
* | i965: xdemos/glxthreads get: Assertion `block->fenced' failed (9201)Zou Nan hai2007-01-063-4/+18
| | | | | | | | Signed-off-by: Keith Packard <[email protected]>
* | i965: Take clip rects into account when computing max primZou Nan hai2007-01-061-1/+11
| | | | | | | | Signed-off-by: Keith Packard <[email protected]>
* | i965: ARB_occlusion_query supportWang Zhenyu2007-01-064-1/+55
| | | | | | | | Signed-off-by: Keith Packard <[email protected]>
* | i965: Avoid branch instructions while in single program flow mode.Eric Anholt2007-01-065-59/+125
| | | | | | | | | | | | | | | | | | | | | | | | There is an errata for Broadwater that threads don't have the instruction/loop mask stacks initialized on thread spawn. In single program flow mode, those stacks are not writable, so we can't initialize them. However, they do get read during ELSE and ENDIF instructions. So, instead, replace branch instructions in single program flow mode with predicated jumps (ADD to the ip register), avoiding use of the more complicated branch instructions that may fail. This is also a minor optimization as no ENDIF equivalent is necessary. Signed-off-by: Keith Packard <[email protected]>
* | i965: Connect INTEL_DEBUG=sync up to cmd/batch ioctls.Eric Anholt2007-01-061-2/+30
| | | | | | | | Signed-off-by: Keith Packard <[email protected]>
* | Use the tiled flag in the sarea to determine region tiling.Haihao Xiang2006-12-303-4/+9
| | | | | | | | | | | | This fixes mis-rendering if back/depth fail to get set up as tiled. While it probably won't ever be the case now that the pitch limits are loosened, this is still the right thing to do.
* | Share code to lay out >= 945 style 2D mipmaps between i915tex and i965 drivers.Michel Dänzer2006-12-143-53/+8
| | | | | | | | Use the i965 version as it has some fixes over the i915tex version.
* | i965: Fix a crash with wine by not allocating >1MB on the stack.Eric Anholt2006-12-092-19/+31
| |
* | fix bug#9237Xiang, Haihao2006-12-081-4/+4
| |
* | fix bug#9045Xiang, Haihao2006-12-081-2/+3
| |
* | Structure CopyPixels similarly to i915 do_texture_copypixels, to ease future ↵Gary Wong2006-12-024-99/+147
| | | | | | | | unification.
* | Add accelerated CopyPixels for non-overlapping, 1:1 blits.Eric Anholt2006-11-2910-15/+213
| | | | | | | | Submitted by Gary Wong <[email protected]>
* | Haihao Xiang's edgeflag patch.Keith Whitwell2006-11-231-0/+3
| |
* | Haihao Xiang's pointsize initialization patch.Keith Whitwell2006-11-231-0/+5
| |
* | Gary Wong's patches for CopyPixels Logiop (enable) and BlendKeith Whitwell2006-11-214-10/+42
| | | | | | | | | | | | (disallow). Slightly cleaned to disallow on all blend states for code consiseness and turn a table lookup into a function to match other code in the driver.
* | Gary Wong's fix for 64 bit cleanness of vertex program inputs bitmask.Keith Whitwell2006-11-214-9/+10
| |
* | Commit Gary Wong & Keith Packard's changes for bug 8867 -- adjust codeKeith Whitwell2006-11-213-10/+23
| | | | | | | | after repositioning of INDEX value in BRW_ATTRIB enum.
* | Don't perform dangling attribute check on POS attribute. It can't byKeith Whitwell2006-11-201-1/+1
| | | | | | | | | | | | definition dangle (every vertex has a position). However save->currentsz isn't properly maintained for this attribute, as there is no current position value to track. Reported by Haihao Xiang.
* | Make sure vbo's are mapped before accessing their contents inKeith Whitwell2006-11-161-0/+8
| | | | | | | | api_arrayelt.c. Reported by Haihao Xiang.
* | Add a size parameter to _mesa_add_unnamed_constant() andBrian Paul2006-11-152-2/+2
| | | | | | | | | | _mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now...
* | Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-013-44/+25
|/
* Emit cliprects in the userspace driver as required, rather thanKeith Whitwell2006-10-2310-66/+81
| | | | | | | | passing them to the kernel. This works because all drawing commands in the 965 driver are emitted with the lock held and the batchbuffer is always flushed prior to releasing the lock. This allows multiple cliprects to be dealt with, without replaying entire batchbuffers and redundantly re-emitting state.
* Remove a bunch of "ctx->Driver.function = _swrast_Function" lines sinceBrian Paul2006-10-151-16/+3
| | | | | default/fallback functions are already plugged in by the call to _mesa_init_driver_functions().
* Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul2006-10-151-1/+0
| | | | | This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
* Upload of interleaved arrays currently assumes that position is theKeith Whitwell2006-10-131-0/+1
| | | | | | first element in the interleaved group. Add a test to catch cases where this isn't true and use per-array uploads instead. Fixes compiz glitches on x64.