summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965
AgeCommit message (Collapse)Author
2007-01-181. Fix bug #155Zou Nan hai
2. I notice multiple ARB_occlusion_query should be able to overlap according to spec. 3. Declaring extern variables in a .c file is evil, fix it.
2007-01-17I965: fix bug#9625-get the correct PV for quardstripXiang, Haihao
The order of vertices in payload for quardstrip is (0, 1, 3, 2), so the PV for quardstrip is c->reg.vertex[2].
2007-01-16Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa ↵Keith Whitwell
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
2007-01-06Merge branch 'master' into crestlineKeith Packard
2007-01-06Various warning fixes for i965 driver.Keith Packard
vertex/fragment programs provided as const. bmSetFenceLock should return bmSetFence value.
2007-01-06Initialize GL_ARB_occlusion_query only if DRM support is present.Keith Packard
DRM versions before 1.8 do not include the necessary ioctls to support GL_ARB_occlusion_query, don't enable it on these versions.
2007-01-06Merge branch 'master' into crestlineWang Zhenyu
Conflicts: src/mesa/drivers/dri/i965/brw_tex_layout.c Michel Dänzer replaced the copy of the 945 mipmap layout code with that from the 945 driver directly.
2007-01-06i965: xdemos/glxthreads get: Assertion `block->fenced' failed (9201)Zou Nan hai
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06i965: Take clip rects into account when computing max primZou Nan hai
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06i965: ARB_occlusion_query supportWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2007-01-06i965: Avoid branch instructions while in single program flow mode.Eric Anholt
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 <keithp@neko.keithp.com>
2007-01-06i965: Connect INTEL_DEBUG=sync up to cmd/batch ioctls.Eric Anholt
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2006-12-30Use the tiled flag in the sarea to determine region tiling.Haihao Xiang
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.
2006-12-26Support linear format in i965.Haihao Xiang
Fix bug #117 #118
2006-12-14Share code to lay out >= 945 style 2D mipmaps between i915tex and i965 drivers.Michel Dänzer
Use the i965 version as it has some fixes over the i915tex version.
2006-12-13Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestlineNian Wu
2006-12-13 Fix bug #93, i965 driver not thread safe.Zou Nan hai
I am not confident of it is 100% thread safe now. bufmgr_fake.c need a total rewrite later (cherry picked from 606632ca27558ee1335be2f4a5906f2baa240a6a commit)
2006-12-13 fix bug #99.Zou Nan hai
prim_count overflow when there is more than 1 cliprect (cherry picked from 84b958d66fe7d3fe03ed12b493e3f3197f656531 commit)
2006-12-13ARB_occlusion_query supportZou Nan hai
2006-12-13if (tex width < 4), mipmap calculation will be out of rangeZou Nan hai
2006-12-10Avoid branch instructions while in single program flow mode.Eric Anholt
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.
2006-12-10Connect INTEL_DEBUG=sync up to cmd/batch ioctls.Eric Anholt
2006-12-10adding pci id of CrestlineWang Zhenyu
2006-12-09i965: Fix a crash with wine by not allocating >1MB on the stack.Eric Anholt
2006-12-08fix bug#9237Xiang, Haihao
2006-12-08fix bug#9045Xiang, Haihao
2006-12-02Structure CopyPixels similarly to i915 do_texture_copypixels, to ease future ↵Gary Wong
unification.
2006-11-29Add accelerated CopyPixels for non-overlapping, 1:1 blits.Eric Anholt
Submitted by Gary Wong <gtw@gnu.org>
2006-11-23Haihao Xiang's edgeflag patch.Keith Whitwell
2006-11-23Haihao Xiang's pointsize initialization patch.Keith Whitwell
2006-11-21Gary Wong's patches for CopyPixels Logiop (enable) and BlendKeith Whitwell
(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.
2006-11-21Gary Wong's fix for 64 bit cleanness of vertex program inputs bitmask.Keith Whitwell
2006-11-21Commit Gary Wong & Keith Packard's changes for bug 8867 -- adjust codeKeith Whitwell
after repositioning of INDEX value in BRW_ATTRIB enum.
2006-11-20Don't perform dangling attribute check on POS attribute. It can't byKeith Whitwell
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.
2006-11-16Make sure vbo's are mapped before accessing their contents inKeith Whitwell
api_arrayelt.c. Reported by Haihao Xiang.
2006-11-15Add a size parameter to _mesa_add_unnamed_constant() andBrian Paul
_mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now...
2006-11-02merge current trunk into vbo branchAlan Hourihane
2006-11-01Remove x/y/width/height parameters from Clear functions.Brian Paul
2006-10-31cleanup code, compiles with vbo changesKeith Whitwell
2006-10-30switch several dri drivers overKeith Whitwell
2006-10-30checkpoint - remove dead files, otherwise untestedKeith Whitwell
2006-10-23Emit cliprects in the userspace driver as required, rather thanKeith Whitwell
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.
2006-10-15Remove a bunch of "ctx->Driver.function = _swrast_Function" lines sinceBrian Paul
default/fallback functions are already plugged in by the call to _mesa_init_driver_functions().
2006-10-15Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul
This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
2006-10-13Upload of interleaved arrays currently assumes that position is theKeith Whitwell
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.
2006-10-13Make sure instructions are zero'd out before use.Keith Whitwell
2006-10-13Use unsigned long batchbuffer offset, fixes x64 warnings.Keith Whitwell
2006-10-13Fix printf warning.Keith Whitwell
2006-10-13Use unsigned long cast for checking pointer alignment, fixes x64 warnings.Keith Whitwell
2006-10-13Use mesa function to get opcode name rather than an internal table.Keith Whitwell