Commit Graph

29676 Commits

Author SHA1 Message Date
Alex Deucher 8d24273750 r600: remove stray END_BATCH in blit code 2010-01-16 08:45:08 -05:00
Jakob Bornecrantz a5c03bd6f1 draw: Fix memory leak in gs code 2010-01-16 10:44:57 +00:00
Dave Airlie 66e561a036 i965g: make xorg state tracker build i965g_drv.so
don't make modesetting_drv.so anymore
2010-01-16 19:28:45 +10:00
Alex Deucher 8b704396a3 r600: improve blit support
- fill in more src/dst formats
- disable depth copies for now
- set proper data formats in render target regs
- fill in additional default state

The swizzles on some of the less used mesa formats
are probably wrong.
2010-01-15 23:06:18 -05:00
Andre Maasikas 7283a246ce r600: add initial blit support 2010-01-15 23:06:05 -05:00
Alex Deucher ec8ce40083 r600: add r600_blit.c
Unfinished.
2010-01-15 23:05:56 -05:00
Patrice Mandin 923aab93d9 nouveau: nv30: Remove useless variables fs, txp. Also do not change txf, as bit 13 is in the texture format
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-01-15 22:29:13 +01:00
Michal Krol e124080cd6 util: Handle FORMAT_Z32_FLOAT in util_pack_z(). 2010-01-15 19:00:15 +01:00
Michal Krol 1433a2d935 util: Handle the remaining formats in pipe_put_tile_rgba(). 2010-01-15 19:00:11 +01:00
Michal Krol d29e72633c util: Fix encoding for R8G8B8A8_UNORM formats and friends. 2010-01-15 19:00:09 +01:00
Michal Krol 42d55953b1 tgsi: Add ureg_property_gs_input_prim(). 2010-01-15 19:00:06 +01:00
Michal Krol 181adca5d6 tgsi: Add ureg_src_dimension(). 2010-01-15 19:00:03 +01:00
Michal Krol 857b37980c regress: Add .gitgnore for *.png files. 2010-01-15 18:59:59 +01:00
Michal Krol b96976cc7c draw: Add missing header include. 2010-01-15 18:59:55 +01:00
Roland Scheidegger bf575b6c27 gallium: document set_constant_buffer 2010-01-15 18:25:14 +01:00
Roland Scheidegger 5e5d0ad081 Merge branch 'gallium-noconstbuf'
Conflicts:
	src/gallium/drivers/softpipe/sp_draw_arrays.c
	src/mesa/state_tracker/st_draw_feedback.c
2010-01-15 18:09:45 +01:00
Roland Scheidegger 1c4ad77812 gallium: remove set_edgeflags from docs 2010-01-15 17:55:42 +01:00
Brian Paul 5d57e70ffa configs: remove -ansi from linux-debug
-ansi implies -std=c89 but that conflicts with the -std=c99 flag
which is also provided.

Allows the r300g driver to compile.
2010-01-15 09:02:56 -07:00
Michal Krol d1767bfdab tgsi: Fix sanity checks for indirect registers. 2010-01-15 11:44:23 +01:00
Chia-I Wu 8cfdbfbcbd st/egl_g3d: Avoid validation upon buffer swap or flush frontbuffer.
With screen->update_buffer being hooked, leave the job to the state
trackers.
2010-01-15 18:12:23 +08:00
Chia-I Wu b2c7b08299 st/egl_g3d: Hook to update_buffer of the pipe screen.
It is a notification from the client APIs that the surface size might
have changed.
2010-01-15 18:12:20 +08:00
Chia-I Wu 51b00574a2 st/egl_g3d: Always override flush_frontbuffer.
Instead of letting the native displays install their own version of
flush_frontbuffer, always override the callback with a version that
calls the flush_frontbuffer of the native surface.
2010-01-15 17:42:57 +08:00
Michal Krol 6664a6dd7f st/mesa: Initialise vertex element instance divisor to 0. 2010-01-15 07:52:18 +01:00
Luca Barbieri f7748d72b4 draw: Add GALLIUM_DUMP_VS environment variable.
Add GALLIUM_DUMP_VS to dump the vertex shader to the console like
GALLIUM_DUMP_FS in softpipe.
2010-01-15 07:30:17 +01:00
Jakob Bornecrantz 877cadb655 r300g: Build driver by default
Do the auto trick that is used for both i915, i965 and svga.
2010-01-14 22:51:25 +00:00
Jakob Bornecrantz b01ffb12ed Merge branch 'mesa_7_7_branch'
Conflicts:
	src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
	src/gallium/auxiliary/util/Makefile
	src/gallium/drivers/r300/r300_state_derived.c
2010-01-14 22:31:04 +00:00
Michal Krol ffd2848056 gallium: Document drawing commands. 2010-01-14 18:55:52 +01:00
Michal Krol 5184b02b07 Merge branch 'instanced-arrays'
Conflicts:
	src/gallium/drivers/softpipe/sp_draw_arrays.c
2010-01-14 18:11:41 +01:00
Corbin Simpson 1bc77e9931 r300g: Cleanup from last few commits.
Strangely enough, the code solidified pretty quickly.
2010-01-14 09:01:37 -08:00
Łukasz Krotowski 60628c65c9 r300g: Really destroy translated buffer at the end.
Note that indexSize is changed by r300_translate_elts(). Also make sure
it's destroyed on errors.
2010-01-14 09:01:37 -08:00
Brian Paul 7fcfb71931 progs/trivial: test user clip plane in tri-point-line-clipped.c 2010-01-14 09:38:47 -07:00
Brian Paul 0a82692154 progs/trivial: test glPolygonMode(POINT/LINE) with frustum clipping
Note whether the new verts introduced by clipping show up as points
and lines along the edge of the window...
2010-01-14 09:22:30 -07:00
Brian Paul d6b4655e13 gallium/util: silence warning about array initializers 2010-01-14 09:22:30 -07:00
Chia-I Wu 81430b95d0 egl_g3d: Check if the creation of pipe or st context fails.
It should not return an incomplete EGLContext to the users.
2010-01-14 17:29:48 +08:00
Chia-I Wu 6cb89b23ee st/egl_g3d: Use a sequence number to decide if validation is required.
It is not safe to assume that the native surface has not changed since
the last validation by checking the geometry alone.  Add a sequence
number to "validate" callback for that purpose.  This is inspired by
Luca Barbieri's work.
2010-01-14 17:25:19 +08:00
Vinson Lee 252812bf15 st/mesa: Remove unnecessary header from st_program.c. 2010-01-13 23:28:00 -08:00
Vinson Lee c109ca9c49 st/mesa: Remove unnecessary header from st_texture.c. 2010-01-13 23:16:05 -08:00
Vinson Lee 6b39e8aeb0 swrast: Remove unnecessary header from s_accum.c. 2010-01-13 23:01:03 -08:00
Vinson Lee 78411881d3 swrast: Remove unnecessary header from s_atifragshader.c. 2010-01-13 22:58:07 -08:00
Vinson Lee 0a70868131 swrast: Remove unnecessary header from s_bitmap.c. 2010-01-13 22:45:54 -08:00
Vinson Lee 886cffb44e swrast: Remove unnecessary headers from s_copypix.c. 2010-01-13 22:43:16 -08:00
Vinson Lee cf061c24e0 swrast: Remove unnecessary header from s_depth.c. 2010-01-13 22:36:01 -08:00
Vinson Lee d1631f734a swrast: Remove unnecessary header from s_drawpix.c. 2010-01-13 22:30:04 -08:00
Vinson Lee f649870c9b swrast: Remove unnecessary header from s_feedback.c. 2010-01-13 22:20:44 -08:00
Corbin Simpson 6a2936b876 gallium/docs: Random things sitting around in my stash. 2010-01-13 20:46:53 -08:00
Corbin Simpson 264e548d86 r300g: Use indices to translate index buffers of ubytes.
progs/redbook/aapoly, among others, works fine now.
2010-01-13 20:44:49 -08:00
Corbin Simpson 8feb27b8ff radeong: Change DRI driver name to radeong. 2010-01-13 18:37:17 -08:00
Corbin Simpson 9bb2b90191 r300g: Disable immediate mode rendering for now.
Will re-enable when the bugs are ironed out.
2010-01-13 18:36:54 -08:00
Brian Paul bc1b38af71 gallium/draw: s/clipper/clip_stage/ to be consistant with other stages 2010-01-13 17:39:45 -07:00
Brian Paul c873613403 gallium/draw: whitespace and comments 2010-01-13 17:39:45 -07:00