Brian Paul [Wed, 20 Aug 2008 16:31:38 +0000 (10:31 -0600)]
gallium: test for and cull prims with inf/nan vertices in sp_setup.c code.
Brian Paul [Wed, 20 Aug 2008 16:27:30 +0000 (10:27 -0600)]
gallium: fix typo in LINE() macro (replace i+1 with i1 var)
We were sometimes referencing an invalid vertex.
Fixes progs/trivial/line-clip.c test among others.
José Fonseca [Wed, 20 Aug 2008 13:03:12 +0000 (14:03 +0100)]
python/retrace: Retrace draw_elements and draw_range_elements.
José Fonseca [Wed, 20 Aug 2008 13:02:43 +0000 (14:02 +0100)]
python: bindings for draw_range_elements.
Brian Paul [Wed, 20 Aug 2008 00:14:15 +0000 (18:14 -0600)]
mesa: allow for extra per-context init
Brian Paul [Tue, 19 Aug 2008 23:41:34 +0000 (17:41 -0600)]
gallium: fix do_flip bug in sp_surface_copy()
Surfaces are always in y=0=top raster order so the caller should invert
the Y coordinate if needed; don't do it in sp_surface_copy().
Fixes a glCopyTexture regression.
Brian Paul [Tue, 19 Aug 2008 23:04:48 +0000 (17:04 -0600)]
gallium: fix an assertion
Brian Paul [Tue, 19 Aug 2008 20:34:59 +0000 (14:34 -0600)]
gallium: implement a fast-path for glReadPixels for common cases
Brian Paul [Tue, 19 Aug 2008 20:24:27 +0000 (14:24 -0600)]
gallium: do a proper implementation of GL_OES_read_format
Examine the currently bound color buffer's format to see if there's a good
format/type match.
José Fonseca [Tue, 19 Aug 2008 20:33:59 +0000 (21:33 +0100)]
gallium: WinCE build fixes.
José Fonseca [Tue, 19 Aug 2008 18:12:22 +0000 (19:12 +0100)]
python/retrace: Add several missing functions.
José Fonseca [Tue, 19 Aug 2008 18:11:47 +0000 (19:11 +0100)]
trace: Fix pipe_clip_state dump.
José Fonseca [Tue, 19 Aug 2008 18:11:36 +0000 (19:11 +0100)]
python: Handle null state.
José Fonseca [Tue, 19 Aug 2008 17:25:38 +0000 (18:25 +0100)]
python/retrace: Trim null chars.
They are often left in memory mapped files, and are not part of the XML
accept chars anyway.
José Fonseca [Tue, 19 Aug 2008 16:08:41 +0000 (17:08 +0100)]
trace: Support C++.
Brian Paul [Tue, 19 Aug 2008 18:04:35 +0000 (12:04 -0600)]
mesa: glsl: more writemask error checking
Brian Paul [Tue, 19 Aug 2008 17:31:10 +0000 (11:31 -0600)]
mesa: glsl: added some post incr/decr error checks
Brian Paul [Tue, 19 Aug 2008 17:23:25 +0000 (11:23 -0600)]
mesa: glsl: limit function matching through casting
Brian Paul [Tue, 19 Aug 2008 16:27:06 +0000 (10:27 -0600)]
mesa: glsl: add usage tracking for uniform vars
Unused uniforms are no longer included in the active uniforms list.
Brian Paul [Tue, 19 Aug 2008 16:05:11 +0000 (10:05 -0600)]
mesa: glsl: put var emit/ref code into separate functions
Michal Krol [Tue, 19 Aug 2008 13:32:09 +0000 (15:32 +0200)]
gallium: Add note about vs_2_0 EXPP mapping.
Michal Krol [Tue, 19 Aug 2008 12:44:41 +0000 (14:44 +0200)]
Add NV_vertex_program specific tests.
Michal Krol [Tue, 19 Aug 2008 12:43:19 +0000 (14:43 +0200)]
Add support for NVIDIA programs.
Michal Krol [Tue, 19 Aug 2008 10:07:25 +0000 (12:07 +0200)]
tgsi: Implement LOG opcode for SSE2 codegen.
Michal Krol [Tue, 19 Aug 2008 09:47:30 +0000 (11:47 +0200)]
tgsi: Implement EXP opcode for SSE2.
José Fonseca [Tue, 19 Aug 2008 01:24:13 +0000 (02:24 +0100)]
mesa: Call pipe->destroy on context destruction for all platforms.
José Fonseca [Mon, 18 Aug 2008 23:18:19 +0000 (00:18 +0100)]
xlib: Revert destroying pipe_screen (temporary).
Michal Krol [Mon, 18 Aug 2008 22:42:30 +0000 (00:42 +0200)]
tgsi: Fix ARL opcode in SSE2 codegen.
Michal Krol [Mon, 18 Aug 2008 21:20:00 +0000 (23:20 +0200)]
st: Do not translate program constants to immediates when
indirect addressing used.
Michal Krol [Mon, 18 Aug 2008 20:51:15 +0000 (22:51 +0200)]
st: Translate address register declaration.
Michal Krol [Mon, 18 Aug 2008 20:38:48 +0000 (22:38 +0200)]
st: Fix immediate construction.
Michal Krol [Mon, 18 Aug 2008 20:21:32 +0000 (22:21 +0200)]
tgsi: Workaround debug output buffer size limitations.
Michal Krol [Mon, 18 Aug 2008 19:44:54 +0000 (21:44 +0200)]
Port vp to Windows.
Michal Krol [Mon, 18 Aug 2008 16:09:23 +0000 (18:09 +0200)]
tgsi: Use NUM_CHANNELS.
Brian Paul [Mon, 18 Aug 2008 22:30:10 +0000 (16:30 -0600)]
gallium: use PIPE_TEXTURE_USAGE_RENDER_TARGET for stencil renderbuffers
Brian Paul [Mon, 18 Aug 2008 22:12:39 +0000 (16:12 -0600)]
egl: don't put the example/demo driver in the lib/ dir
Brian Paul [Mon, 18 Aug 2008 22:10:01 +0000 (16:10 -0600)]
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.
José Fonseca [Mon, 18 Aug 2008 11:42:08 +0000 (12:42 +0100)]
trace: Explain how to integrate with a state tracker or winsys.
José Fonseca [Sat, 16 Aug 2008 18:45:05 +0000 (19:45 +0100)]
trace: Preliminary stream implementation for GDI.
José Fonseca [Sat, 16 Aug 2008 18:44:37 +0000 (19:44 +0100)]
trace: Use long longs to ensure covering 64bits integers.
José Fonseca [Sat, 16 Aug 2008 17:45:00 +0000 (18:45 +0100)]
trace: Get the trace file from the GALLIUM_TRACE option itself.
Brian Paul [Mon, 18 Aug 2008 19:15:09 +0000 (13:15 -0600)]
gallium: fix do_flip bug on glCopyTexImage / surface_copy() path
Michal Krol [Mon, 18 Aug 2008 15:49:01 +0000 (17:49 +0200)]
gallium: Remove TGSI_CC_UN.
Michal Krol [Mon, 18 Aug 2008 15:18:58 +0000 (17:18 +0200)]
tgsi: Update condition code vector when storing dest register.
Michal Krol [Mon, 18 Aug 2008 15:09:20 +0000 (17:09 +0200)]
tgsi: Saturate modifier obeys ExecMask.
Implement NVIDIA [-1;+1] saturate mode.
Michal Krol [Mon, 18 Aug 2008 15:03:56 +0000 (17:03 +0200)]
tgsi: Respect condition codes when storing destination register.
Michal Krol [Mon, 18 Aug 2008 13:57:39 +0000 (15:57 +0200)]
tgsi: Cosmetic changes.
Michal Krol [Mon, 18 Aug 2008 13:42:26 +0000 (15:42 +0200)]
tgsi: Add condition code (CC) register.
Brian Paul [Mon, 18 Aug 2008 14:49:41 +0000 (08:49 -0600)]
mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug 17173
Also, move GL_TEXTURE_RECTANGLE init code into separate function.
Michal Krol [Mon, 18 Aug 2008 12:40:02 +0000 (14:40 +0200)]
scons: Fix build.
Alan Hourihane [Sun, 17 Aug 2008 20:59:00 +0000 (21:59 +0100)]
pick first mode
Alan Hourihane [Sun, 17 Aug 2008 20:55:37 +0000 (21:55 +0100)]
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
Alan Hourihane [Sun, 17 Aug 2008 19:17:18 +0000 (20:17 +0100)]
consolidate intel directories.
we now have
src/gallium/winsys/drm/intel/{common,dri,egl}
Alan Hourihane [Sun, 17 Aug 2008 18:14:00 +0000 (19:14 +0100)]
rather than use CRTC 1 (aka LVDS), try and setup all connectors/encoders
and get the same output on all.
Alan Hourihane [Sun, 17 Aug 2008 18:13:17 +0000 (19:13 +0100)]
choose a 1024x768 resolution
Alan Hourihane [Sun, 17 Aug 2008 18:12:54 +0000 (19:12 +0100)]
choose sane default for dri driver location
Hanno Böck [Fri, 15 Aug 2008 23:14:54 +0000 (17:14 -0600)]
fix DESTDIR omissions
Brian Paul [Fri, 15 Aug 2008 21:00:18 +0000 (15:00 -0600)]
mesa: glsl: fix linking of varying vars which are arrays
Brian Paul [Fri, 15 Aug 2008 17:50:29 +0000 (11:50 -0600)]
gallium: in st_draw_vbo() use ctx->Current.Attrib[] values when arrays are missing/null
fixes potential segfaults when vertex arrays are missing
José Fonseca [Fri, 15 Aug 2008 10:24:06 +0000 (11:24 +0100)]
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.
José Fonseca [Fri, 15 Aug 2008 10:20:57 +0000 (11:20 +0100)]
trace: Fix typo.
José Fonseca [Fri, 15 Aug 2008 09:33:35 +0000 (10:33 +0100)]
python/retrace: Update frame when PIPE_FLUSH_FRAME spotted.
José Fonseca [Fri, 15 Aug 2008 09:31:23 +0000 (10:31 +0100)]
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.
José Fonseca [Fri, 15 Aug 2008 09:24:09 +0000 (10:24 +0100)]
trace: Allow multiple screens. Flush after call.
José Fonseca [Thu, 14 Aug 2008 21:03:35 +0000 (22:03 +0100)]
pyhon/retrace: Retrace surface contents.
Now capable of replaying trivial/quad-tex-2d
José Fonseca [Thu, 14 Aug 2008 13:40:27 +0000 (14:40 +0100)]
python/retrace: Keep addresses as strings.
To simplify looking up these in the trace.
José Fonseca [Thu, 14 Aug 2008 13:38:58 +0000 (14:38 +0100)]
trace: Several fixes.
José Fonseca [Thu, 14 Aug 2008 13:35:25 +0000 (14:35 +0100)]
python: Fix put/get_tile_raw bindings.
José Fonseca [Thu, 14 Aug 2008 13:34:33 +0000 (14:34 +0100)]
trace: Trace surface contents.
José Fonseca [Thu, 14 Aug 2008 11:50:52 +0000 (12:50 +0100)]
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.
José Fonseca [Thu, 14 Aug 2008 10:40:33 +0000 (11:40 +0100)]
mesa: Issue PIPE_FLUSH_FRAME in glSwapBuffers/glFlush/glFinish.
José Fonseca [Thu, 14 Aug 2008 10:39:41 +0000 (11:39 +0100)]
gallium: New PIPE_FLUSH_FRAME flag to signal the end of a frame.
José Fonseca [Thu, 14 Aug 2008 10:15:13 +0000 (11:15 +0100)]
python/retrace: Commit unsaved changes to the doc.
Brian Paul [Thu, 14 Aug 2008 21:44:09 +0000 (15:44 -0600)]
gallium: init default texture image to gray
Brian Paul [Thu, 14 Aug 2008 21:38:09 +0000 (15:38 -0600)]
gallium: use a default texture in update_textures(), update_samplers() when needed
The default texture is used when the current fragment shader has texture
sample instructions but the user has not provided/bound a texture.
Brian Paul [Thu, 14 Aug 2008 16:53:59 +0000 (10:53 -0600)]
gallium: added queries to determin GL_EXT_packed_depth_stencil support
José Fonseca [Thu, 14 Aug 2008 10:00:49 +0000 (11:00 +0100)]
trace: Update status.
José Fonseca [Thu, 14 Aug 2008 10:00:40 +0000 (11:00 +0100)]
python: Update status.
José Fonseca [Thu, 14 Aug 2008 10:00:22 +0000 (11:00 +0100)]
python/retrace: Application capable of replaying gallium traces.
At the moment it is capable of replaying trivial/tri kind of apps.
See README for status.
José Fonseca [Thu, 14 Aug 2008 09:58:23 +0000 (10:58 +0100)]
python: Allow to use trace pipe driver with python.
José Fonseca [Thu, 14 Aug 2008 09:48:29 +0000 (10:48 +0100)]
python: Fix typo in buffer::write.
José Fonseca [Thu, 14 Aug 2008 09:47:55 +0000 (10:47 +0100)]
python: Remove unused var.
José Fonseca [Thu, 14 Aug 2008 09:47:39 +0000 (10:47 +0100)]
xlib: Use trace usage.
José Fonseca [Thu, 14 Aug 2008 09:46:38 +0000 (10:46 +0100)]
trace: Separate the trace screen/context vs the original screen/context.
José Fonseca [Thu, 14 Aug 2008 09:11:51 +0000 (10:11 +0100)]
mesa: Don't use alignments < 4.
José Fonseca [Thu, 14 Aug 2008 09:10:53 +0000 (10:10 +0100)]
mesa: posix_memalign requires alignment to be multiple of sizeof(void*)
José Fonseca [Thu, 14 Aug 2008 08:44:49 +0000 (09:44 +0100)]
gallium: Catch errors from posix_memalign.
José Fonseca [Wed, 13 Aug 2008 11:41:19 +0000 (12:41 +0100)]
python: Simplify st_winsys.
José Fonseca [Wed, 13 Aug 2008 11:31:53 +0000 (12:31 +0100)]
python: Bindings fixes.
José Fonseca [Wed, 13 Aug 2008 11:13:54 +0000 (12:13 +0100)]
translate: Draw can request up to PIPE_MAX_ATTRIBS + 1 vertex elements.
Alan Hourihane [Thu, 14 Aug 2008 08:52:15 +0000 (09:52 +0100)]
check for winsys->destroy before calling
Brian Paul [Wed, 13 Aug 2008 23:20:40 +0000 (17:20 -0600)]
gallium: fix exec_kilp(), fix Exec/FuncMask test for TGSI_OPCODE_RET
Fixes a few glean glsl regressions.
Brian Paul [Wed, 13 Aug 2008 20:59:48 +0000 (14:59 -0600)]
gallium: in fallback_copy_texsubimage() create new tex surface for CPU read access
Was trying to use the strb->surface but it's made for GPU read/write only.
Michal Krol [Wed, 13 Aug 2008 18:09:56 +0000 (20:09 +0200)]
tgsi: Initial code for KILP, needs CCs working to be complete.
Michal Krol [Wed, 13 Aug 2008 17:31:13 +0000 (19:31 +0200)]
tgsi: Use a homebrew version of toupper().
Michal Krol [Wed, 13 Aug 2008 17:28:10 +0000 (19:28 +0200)]
tgsi: Fix typo.
Michal Krol [Wed, 13 Aug 2008 15:31:26 +0000 (17:31 +0200)]
tgsi: Validate instruction opcode and operand counts.
Michal Krol [Wed, 13 Aug 2008 15:27:15 +0000 (17:27 +0200)]
tgsi: Use tgsi_info to dump opcode names.
Michal Krol [Wed, 13 Aug 2008 15:22:34 +0000 (17:22 +0200)]
tgsi: Use tgsi_opcode_info.
Michal Krol [Wed, 13 Aug 2008 15:20:14 +0000 (17:20 +0200)]
make: List tgsi_info.c.