Commit Graph

17799 Commits

Author SHA1 Message Date
Brian Paul
a88de345cd egl: don't put the example/demo driver in the lib/ dir 2008-08-18 16:12:39 -06:00
Brian Paul
e3f3e22cf7 gallium: fix vertex program output translation/mapping bug
In some cases, the vertex program output's semantic info didn't match up
with the fragment program's input semantic info.  This info is now explicitly
passed into the st_translate_fragment_program() function.
2008-08-18 16:10:01 -06:00
José Fonseca
90a1c6e403 trace: Explain how to integrate with a state tracker or winsys. 2008-08-18 20:47:41 +01:00
José Fonseca
747762f379 trace: Preliminary stream implementation for GDI. 2008-08-18 20:47:41 +01:00
José Fonseca
d042f415fc trace: Use long longs to ensure covering 64bits integers. 2008-08-18 20:47:41 +01:00
José Fonseca
6a31bb6ad8 trace: Get the trace file from the GALLIUM_TRACE option itself. 2008-08-18 20:47:40 +01:00
Brian Paul
145a45e9d6 gallium: fix do_flip bug on glCopyTexImage / surface_copy() path 2008-08-18 13:18:01 -06:00
Michal Krol
235981d871 gallium: Remove TGSI_CC_UN. 2008-08-18 17:49:01 +02:00
Henri Verbeet
e438827dec fix byte vs. pixel offset bug for 3D textures (see bug 17170) 2008-08-18 09:30:52 -06:00
Michal Krol
e9ec60097c tgsi: Update condition code vector when storing dest register. 2008-08-18 17:20:14 +02:00
Michal Krol
56c30bf17b tgsi: Saturate modifier obeys ExecMask.
Implement NVIDIA [-1;+1] saturate mode.
2008-08-18 17:20:12 +02:00
Michal Krol
6aacca106b tgsi: Respect condition codes when storing destination register. 2008-08-18 17:20:10 +02:00
Michal Krol
880b751e8e tgsi: Cosmetic changes. 2008-08-18 17:20:08 +02:00
Michal Krol
e2da7edd64 tgsi: Add condition code (CC) register. 2008-08-18 17:20:06 +02:00
Brian Paul
087ee474ed mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug 17173
Also, move GL_TEXTURE_RECTANGLE init code into separate function.
2008-08-18 08:56:17 -06:00
Brian Paul
6a00625fbb mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug 17173
Also, move GL_TEXTURE_RECTANGLE init code into separate function.
2008-08-18 08:55:13 -06:00
Michal Krol
6fdc057887 scons: Fix build. 2008-08-18 14:40:02 +02:00
Corbin Simpson
c5d25c8509 r5xx: Add DDX and DDY instructions.
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2008-08-17 22:36:17 -07:00
Alan Hourihane
5c9d0c7052 pick first mode 2008-08-17 21:59:00 +01:00
Alan Hourihane
9bbc55116f if we can't find a mode, return first. At least we should
see the top left portion if we've got larger screens on
other CRTC's
2008-08-17 21:55:37 +01:00
Alan Hourihane
ccf1910dd4 consolidate intel directories.
we now have

src/gallium/winsys/drm/intel/{common,dri,egl}
2008-08-17 20:17:18 +01:00
Alan Hourihane
2037b1381c rather than use CRTC 1 (aka LVDS), try and setup all connectors/encoders
and get the same output on all.
2008-08-17 19:14:00 +01:00
Alan Hourihane
b6db08a91b choose a 1024x768 resolution 2008-08-17 19:13:17 +01:00
Alan Hourihane
3eeafb7179 choose sane default for dri driver location 2008-08-17 19:12:54 +01:00
Brian Paul
b7ff70e16a bring in docs from 7.0.4 release/branch 2008-08-16 11:09:49 -06:00
Corbin Simpson
567d87744a added test for ARB GLSL extensions 2008-08-16 11:07:51 -06:00
Brian Paul
5d762e1613 added glu.exports files to tarballs list 2008-08-16 10:09:38 -06:00
Brian Paul
35479fd4b4 fix convolutions test to consistanty use the ARB shader extension functions
Was using a mix of the ARB functions and the OpenGL 2.0 shader functions.
2008-08-16 09:54:07 -06:00
Brian Paul
7970b2a908 prep for 7.1 rc4 2008-08-16 09:39:10 -06:00
Brian Paul
c0dd9122fd remove .txt suffix from shader source files 2008-08-16 09:36:46 -06:00
Brian Paul
ce00d232f3 mesa: added glsl/convolutions test from gallium branch 2008-08-16 09:34:12 -06:00
Brian Paul
db1103ebe8 mesa: turn off 'x' bit misset on a few .h and .syn files 2008-08-16 09:31:27 -06:00
Brian Paul
1f4997c2aa mesa: import latest GLSL code from gallium-0.1 branch 2008-08-16 09:30:14 -06:00
Hanno Böck
404166217a fix DESTDIR omissions 2008-08-15 17:14:54 -06:00
Brian Paul
1b39b92e6d draw a tristrip ring instead of a single quad 2008-08-15 17:02:09 -06:00
Brian Paul
37f452096b don't need to use LOD version of texture2D() funcs 2008-08-15 17:02:09 -06:00
Brian Paul
2e40e44bf4 mesa: glsl: fix linking of varying vars which are arrays 2008-08-15 15:00:18 -06:00
Brian Paul
52a6b7e6da gallium: in st_draw_vbo() use ctx->Current.Attrib[] values when arrays are missing/null
fixes potential segfaults when vertex arrays are missing
2008-08-15 11:52:28 -06:00
José Fonseca
4b1b5ca9bd xlib: Kill xmesa_surface.
A winsys cannot expect that the surfaces passed display_surface are the
surfaces it created, as surface are now in generate texture views created
by pipe_screen. Indeed, the fact it was working so far was mere luck.

This fixes a weird tiled output when using the trace pipe driver.

Winsys' surfaces should die.
2008-08-15 11:24:06 +01:00
José Fonseca
9d58b2a432 trace: Fix typo. 2008-08-15 11:20:57 +01:00
José Fonseca
52ecb8f563 python/retrace: Update frame when PIPE_FLUSH_FRAME spotted. 2008-08-15 10:35:19 +01:00
José Fonseca
f40de50def trace: Wrap all textures and surface created by the pipe driver.
That is,

Unfortunately, this causes a regression in softpipe, where the
output gets tyled.
2008-08-15 10:35:19 +01:00
José Fonseca
f121d0e54f trace: Allow multiple screens. Flush after call. 2008-08-15 10:35:19 +01:00
José Fonseca
c9751522b0 pyhon/retrace: Retrace surface contents.
Now capable of replaying trivial/quad-tex-2d
2008-08-15 10:35:19 +01:00
José Fonseca
14fe0d62ee python/retrace: Keep addresses as strings.
To simplify looking up these in the trace.
2008-08-15 10:35:19 +01:00
José Fonseca
4fffc9d63f trace: Several fixes. 2008-08-15 10:35:18 +01:00
José Fonseca
37336b7d9e python: Fix put/get_tile_raw bindings. 2008-08-15 10:35:18 +01:00
José Fonseca
424dea98d4 trace: Trace surface contents. 2008-08-15 10:35:18 +01:00
José Fonseca
196167e9d5 trace: Make stream a global variable.
This not only simplifies the code, but allows to use atexit() to ensure
the log is closed when applications don't exit cleanly.
2008-08-15 10:35:18 +01:00
José Fonseca
2f34c851c0 mesa: Issue PIPE_FLUSH_FRAME in glSwapBuffers/glFlush/glFinish. 2008-08-15 10:35:18 +01:00