summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r300-gallium: Unify shader interfaces, enable r300 shader, start unbreaking.Corbin Simpson2009-03-254-31/+84
| | | | progs/trivial/clear no longer is horrifically wrong, just kind of wrong.
* r300-gallium: r500-fs: Remove unused variable.Corbin Simpson2009-03-251-1/+0
|
* nv50: fix typo in nv50_query.cBen Skeggs2009-03-251-1/+1
|
* nouveau: fix some pipe_buffer reference counting issuesBen Skeggs2009-03-251-1/+5
|
* nouveau: Frontbuffer needs to be marked as linear.Younes Manton2009-03-241-1/+2
|
* i965: fix point rasterization when rendering to FBORobert Ellison2009-03-241-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | The FBO pixel coordinate system, with (0,0) as the upper-left pixel, is inverted in Y compared to the normal OpenGL pixel coordinate system, which has (0,0) as its lower-left pixel. Viewport and polygon stipple are sensitive to this inversion; so is point rasterization. The basic fix is simple: when rendering to an FBO, instead of the normal RASTRULE_UPPER_RIGHT that's appropriate for OpenGL windows, use the Y inversion RASTRULE_LOWER_RIGHT. Unfortunately, current Intel documentation has this value listed as "Reserved, but not seen as useful". It does work on at least some i965-class devices, though; and the worst that could happen if an older device didn't support it would be incorrect point rasterization to FBOs, which is what happens already, so this fix is at least no worse than what happens presently, and is better for some (and possibly all) i965-class devices.
* draw: update aa points shader commentKeith Whitwell2009-03-231-1/+1
|
* gallium: Remove remnants of reference counting internals outside of p_refcnt.h.Michel Dänzer2009-03-239-20/+27
|
* debug: Add function for writing transfers to filesJakob Bornecrantz2009-03-222-32/+42
|
* trace: Fix args to buffer writeJakob Bornecrantz2009-03-221-1/+1
|
* util: Add a new macro for testing empty lists.José Fonseca2009-03-231-0/+3
|
* softpipe: reformatting, comments, minor clean-upsBrian Paul2009-03-224-30/+47
|
* tgsi: minor commentsBrian Paul2009-03-221-2/+2
|
* tgsi: Document KIL, KILP instructions.Michal Krol2009-03-211-2/+6
|
* gallium: remove remaining references to origin_lower_leftKeith Whitwell2009-03-213-3/+0
|
* gallium: remove use of origin_lower_leftBrian Paul2009-03-202-25/+6
| | | | | | | | | | | | | | This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it.
* r300-gallium: Misspelled macro name.Corbin Simpson2009-03-201-1/+1
| | | | *pulls paper bag down over head*
* r300-gallium: Put r300_cs_inlines to bed.Corbin Simpson2009-03-202-60/+16
| | | | Guess it was a mistake in the first place. Oops.
* r300-gallium: Simplify/neaten up packet3.Corbin Simpson2009-03-204-9/+15
| | | | Deck chairs on the Hindenburg. :3
* r300-gallium: Clean up surface_fill, prep for surface_copy code.Corbin Simpson2009-03-201-67/+54
|
* r300-gallium: Properly offset scissors.Corbin Simpson2009-03-202-8/+26
| | | | As per r300_reg, classic Mesa, and xf86-video-ati.
* r300-gallium: Clean up r300_swtcl_emit.Corbin Simpson2009-03-201-23/+4
| | | | Some compile warnings, some statements without effect.
* r300-gallium: Clean up some emit, and some state handlers.Corbin Simpson2009-03-203-20/+32
|
* r300-gallium: A bit more invariant state.Corbin Simpson2009-03-202-20/+31
|
* gallium: Explain what happens if buffer_flush_mapped_range isn't called.José Fonseca2009-03-201-0/+7
|
* gallium/util: add upload manager helper moduleKeith Whitwell2009-03-204-0/+297
| | | | | | | | Add a module that will manage uploading and coalescing multiple user-buffers, malloc-buffers and other random data that doesn't happen to be in a GPU buffer already. The module stuffs multiple little uploads into larger GPU buffers to reduce create/destroy overheads, etc.
* stw: Do not err on nil context handle in MakeCurrent().Michal Krol2009-03-201-3/+0
|
* stw: Use u_handle_table to maintain context list.Michal Krol2009-03-203-28/+23
|
* winsys/gdi: Init state tracker's per-thread data.Michal Krol2009-03-201-1/+12
|
* stw: Keep per-thread storage for current context and pixel format.Michal Krol2009-03-207-12/+193
|
* trace: Formalize on a standard for data size pairJakob Bornecrantz2009-03-191-10/+11
|
* tgsi: Document vs_2_0 instruction set operations.Michal Krol2009-03-191-0/+14
|
* tgsi: Document vs_1_1 instruction set operations.Michal Krol2009-03-191-0/+14
|
* tgsi: Begin documenting ps_2_x instruction set operations.Michal Krol2009-03-191-0/+44
|
* r300-gallium: Emit viewport state.Corbin Simpson2009-03-184-9/+51
| | | | | Note that this will break you, hard, if you're not using RADEON_NO_TCL. I really need to start vertex shaders soon.
* r300-gallium: Viewport state storage.Corbin Simpson2009-03-182-1/+15
|
* r300-gallium: Fixup registers for viewport state.Corbin Simpson2009-03-181-11/+19
|
* st: call _glapi_check_multithread from st_make_currentKeith Whitwell2009-03-181-5/+0
| | | | | | | This function is called from many OS-dependent versions of MakeCurrent. Move the check for multithreading to this central location to avoid having to make this check from all the callers.
* stw: Fix makeCurrent.Thomas Hellstrom2009-03-181-2/+8
| | | | | | Flush if we change current context. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* softpipe: more texture transfer fixes.Brian Paul2009-03-181-4/+8
| | | | | Need to null-out pointers after freeing transfer objects. Fix mix-ups between tc->transfer and tc->tex_trans fields.
* softpipe: need to set tc->transfer=NULL after destroying the transfer objectBrian Paul2009-03-181-0/+1
| | | | | This fixes a number of crashes/regressions in programs such as lodbias.c, mipmap_limits.c, etc.
* pipe/atomic: dont use ms interlock calls from gccKeith Whitwell2009-03-181-1/+2
|
* util: avoid clashprone UINT, UBYTE enum valuesKeith Whitwell2009-03-181-58/+58
|
* draw: use AOS_ERROR rather than clash-prone ERROR() macroKeith Whitwell2009-03-183-9/+9
|
* pipe/atomic: clean up #ifdef mazeKeith Whitwell2009-03-181-17/+135
|
* xlib st: Fix makeCurrent.Thomas Hellstrom2009-03-182-11/+17
| | | | | | | | Flush if we change context. Also reinstate the old optimization of doing nothing if nothing changes. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* nouveau: rewrite winsys in terms of drm_api, support dri2 state trackerBen Skeggs2009-03-1826-746/+505
| | | | | | | | | | drm_api is a set of hooks used by the dri2 state tracker, this wraps our dri1 code around the same set of hooks. Currently the dri2 build will produce nouveau_dri2.so which you'll need to install as nouveau_dri.so if you wish to try it. The dri2 state tracker doesn't make it easy for a driver to support both paths in the same binary.
* st/dri2: use pipe_screen.is_format_supported to choose depth/stencil formatBen Skeggs2009-03-181-6/+20
|
* r300-gallium: Move all unsorted state into invariant state.Corbin Simpson2009-03-172-123/+124
| | | | Gotta just slowly whittle this down.
* r300-gallium: Emit invariant state, no matter what.Corbin Simpson2009-03-173-2/+2
| | | | It's called "invariant" for a reason. :3