aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun ccAlan Coopersmith2009-03-259-26/+49
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* Convert u_int*_t to C99 standard uint*_tAlan Coopersmith2009-03-253-4/+4
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* mklib improvements for SolarisAlan Coopersmith2009-03-252-24/+39
| | | | | | | | | Move flags for linking standard C/C++ libraries from configure.ac to mklib Use -norunpath flag when linking with Sun C++ compiler Convert mklib -exports list into a linker mapfile Set FINAL_LIBS correctly when -noprefix is used Signed-off-by: Alan Coopersmith <[email protected]>
* glew: fix GLEW_LIB_NAMEBrian Paul2009-03-251-1/+1
| | | | This fixes rebuilding of the library every time we run make.
* Revert "dri2: Avoid round-tripping on DRI2GetBuffers for the same set of ↵Michel Dänzer2009-03-252-53/+0
| | | | | | | | | | | | | | buffers." This scheme breaks when the display connection doesn't receive ConfigureNotify events. This caused reporoducible problems (cropped / misplaced output) when starting a 3D application in a guest operating system in VMware Workstation. This reverts commit dd1c68f15123a889a3ce9d2afe724e272d163e32. Conflicts: src/glx/x11/dri2_glx.c
* gl: update include/GL/glext.h to version 48Brian Paul2009-03-251-10/+52
|
* egl: don't use __FUNCTION__ in error messagesBrian Paul2009-03-251-4/+4
|
* slang: ensure structure elements have their array length setAlan Hourihane2009-03-251-0/+1
|
* r300-gallium: r300-fs: Moar.Corbin Simpson2009-03-255-22/+35
|
* 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
|
* r300_cmdbuf.c: convert cast to a form supported by Sun ccAlan Coopersmith2009-03-251-1/+1
| | | | | | | Fixes Sun cc error: "r300_cmdbuf.c", line 142: invalid cast expression Signed-off-by: Alan Coopersmith <[email protected]>
* r300: Texture size limit cleanups.Michel Dänzer2009-03-254-6/+23
| | | | | | | | | Since core Mesa MAX_TEXTURE_LEVELS was bumped, we were incorrectly advertising a maximum texture size of 4096 on older chips, causing corrupted menu text in Extreme Tux Racer or Armagetron. Also make sure our texture image array can actually hold all the mipmap levels we support...
* progs/vp: more psiz testsKeith Whitwell2009-03-252-0/+15
|
* 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
|
* mesa: bump MAX_PROGRAM_TEMPS to 256 (there's some big shaders out there)Alan Hourihane2009-03-241-1/+1
|
* nouveau: Frontbuffer needs to be marked as linear.Younes Manton2009-03-241-1/+2
|
* demos: add LDFLAGS for corender target, bug 20844Brian Paul2009-03-241-1/+1
|
* progs/vp: add pointsize + clamp testKeith Whitwell2009-03-241-0/+9
|
* mesa/st: bump gallium version to 0.3Keith Whitwell2009-03-241-13/+2
| | | | | | | | | To distinguish from the -0.2 version still being maintained on the gallium-mesa-7.4 branch. There are already greater interface changes between these two branches than there were between -0.2 and -0.1. Also stop injecting Tungsten into the vendor string - the Gallium in the renderer string should be sufficient.
* progs/trivial: add fflushes for cygwinKeith Whitwell2009-03-24115-0/+116
|
* i965: fix point rasterization when rendering to FBORobert Ellison2009-03-243-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* progs/trivial: draw non-interleaved arrays out of one vboKeith Whitwell2009-03-243-0/+262
|
* progs/tests: Build texcompress2 with sconsJakob Bornecrantz2009-03-242-1/+1
|
* i965: Fix glFrontFacing in twoside GLSL demo.Eric Anholt2009-03-238-38/+79
| | | | | | | This also cuts instructions by just using the existing bit in the payload rather than computing it from the determinant in the SF unit and passing it as a varying down to the WM. Something still goes wrong with getting the backface color right, but a simpler shader appears to get the right result.
* i965: Fix fog coordinate g,b,a values when glFrontFacing isn't used.Eric Anholt2009-03-231-0/+50
| | | | | | | | | Previously, we would sample (f,glFrontFacing,undef,undef) instead of the (f,0,0,1) that fragment.fogcoord is supposed to return. Due to glFrontFacing's presence in FOGC.y, we'll still give bad results there when glFrontFacing is used. Bug #19122, piglit testcase fp-fog.
* i965: Clean up a bit of mess with unneeded variables in emit_interp.Eric Anholt2009-03-231-7/+2
|
* i965: Fix trailing "d" in debug output for 3DSTATE_VERTEX_ELEMENTS.Eric Anholt2009-03-231-1/+1
|
* i965: Fix occlusion query when no other WM state updates occur.Eric Anholt2009-03-231-2/+3
| | | | | | | | | Turns out that XXX comment was important. We weren't flagging the WM to re-update with the statistics enable, so we got zeroes out of our query. Bug #20740, fixes piglit occlusion_query test. Signed-off-by: Eric Anholt <[email protected]>
* vpglsl: add missing SConscriptKeith Whitwell2009-03-231-0/+13
|
* draw: update aa points shader commentKeith Whitwell2009-03-231-1/+1
|
* progs/fp: pass texcoord to triangle, add a test shaderKeith Whitwell2009-03-233-0/+14
|
* gallium: Remove remnants of reference counting internals outside of p_refcnt.h.Michel Dänzer2009-03-2310-21/+28
|
* 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-214-6/+0
|
* st: Silence compiler warnings.Michal Krol2009-03-211-2/+2
|
* gallium: remove use of origin_lower_leftBrian Paul2009-03-206-49/+203
| | | | | | | | | | | | | | 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.
* mesa: add new internal state var for window sizeBrian Paul2009-03-202-0/+14
| | | | Actually, window width - 1, height - 1
* mesa: linear scan register allocation for shader programsBrian Paul2009-03-201-21/+407
| | | | | | | | | | | | | | This is a check-point commit; not turned on yet. Use the linear scan register allocation algorithm to re-allocate temporary registers. This is done by computing the live intervals for registers and reallocating temps with that information. For some shaders this dramatically reduces the number of temp registers needed. For the time being we give up on a few cases such as relative-indexed temps and subroutine calls (but we inline most GLSL functions anyway).
* docs: updated Mesa extension enum infoBrian Paul2009-03-201-2/+12
|
* 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
|