Commit graph

26564 commits

Author SHA1 Message Date
Brian Paul
ba367f68cc i965: fix render to FBO/texture orientation bugs
Anytime we're not rendering to the default/window FBO, need to invert
rendering, not just when rendering to a texture.  Otherwise, if a FBO
consists of a mix of textures and renderbuffers the up/down orientation
was inconsistant.

Fixes shadowtex.c bad rendering.
2009-01-29 11:07:14 -07:00
Brian Paul
2897cee99f mesa: fix a render to texture FBO validation bug
When glTexImage() is called we need to re-validate any FBOs that point to
the texture (i.e. render-to-texture) since changing the texture's size/format
will effect FBO completeness.

We don't keep a list of all FBOs rendering into each texture (which would be
a bit messy) so we check all FBOs in existance.  To optimize this, the
gl_texture_object->_RenderToTexture flag is used to avoid checking textures
that have never been used as renderbuffers.  So, we only walk over all FBOs
(there's usually only a few) when glTexImage() modifies a RTT texture.

Fixes a bug seen in shadowtex.c when toggling packed depth/stencil mode.
2009-01-29 09:20:18 -07:00
José Fonseca
444e98de31 pipebuffer: Ondemand buffer manager.
A variation of malloc buffers which get transferred to real graphics memory
when there is an attempt to validate them.
2009-01-29 15:19:31 +00:00
José Fonseca
e06474dbae pipebuffer: Implement proper buffer validation. 2009-01-29 15:19:31 +00:00
Dave Airlie
70661f678e WIP comit 2009-01-29 20:46:31 +10:00
Dave Airlie
c9bb5cd20e r200: bring back single dma flush 2009-01-29 20:33:07 +10:00
Dave Airlie
59b183ce0f radeon: remove even more common code 2009-01-29 19:11:31 +10:00
Dave Airlie
5ba92a5b05 radeon/r200/r300: bring back old style DMA buffer on top of BOs.
this gets back a lot of the lots speed in gears on r500 at least

I also fixed the legacy bufmgr to deal when the dma space fills up
2009-01-29 16:47:37 +10:00
Dave Airlie
682ebc79d5 r200: start work on userspace clear for r200 2009-01-29 23:03:47 +10:00
Dave Airlie
5fbb00a11e r200: unref swtcl buffer correctly 2009-01-29 23:03:34 +10:00
Dave Airlie
b13746b558 r300: fix some whitespace 2009-01-29 23:03:21 +10:00
Dave Airlie
474d282a1d r200: re-write state handlers for new CS mechanism 2009-01-29 23:02:43 +10:00
Dave Airlie
31a112e6e8 r200: avoid setting variable on kernel mm setup 2009-01-29 23:01:41 +10:00
Dave Airlie
ab6edc9dce radeon: add repeated register packet one 2009-01-29 23:01:21 +10:00
Jakob Bornecrantz
86e86e6cb6 egl: Blit to the bound frontbuffer with pipe 2009-01-29 03:00:15 +01:00
Jakob Bornecrantz
3b1b9f3cc7 intel: Set render domain on read and write 2009-01-29 03:00:15 +01:00
Jakob Bornecrantz
178f991208 intel: Try forcing flushes 2009-01-29 03:00:15 +01:00
Jakob Bornecrantz
e67c020ad4 intel: Dump batchbuffer before sending to hw 2009-01-29 03:00:15 +01:00
Jakob Bornecrantz
f1c0be75b7 intel: Change link order 2009-01-29 03:00:15 +01:00
Jakob Bornecrantz
8340a116ea i915: Don't take a context as argument for debug 2009-01-29 03:00:14 +01:00
Jakob Bornecrantz
a3b89a39d9 i915: Don't dump batchbuffer on flush in context 2009-01-29 03:00:14 +01:00
Brian Paul
e351343fdf docs: i965 fixes 2009-01-29 00:59:54 +00:00
Brian Paul
80b3767384 i965: fix bug in pass0_precalc_mov()
Previously, "in-place" swizzles such as:
   MOV t, t.xxyx;
were handled incorrectly.  Fixed by splitting the one loop into two loops so we
get all the refs before assigning them (to avoid potential clobbering).

(cherry picked from master/commit faa48915d2)
2009-01-29 00:59:54 +00:00
Brian Paul
477c1820a0 i965: widen per-texture bitfields for 16 texture image units
(cherry picked from master/commit f78c388b6c)
2009-01-29 00:59:54 +00:00
Brian Paul
999fe905c9 intel: check if stencil test is enabled in intel_stencil_drawpixels()
(cherry picked from master/commit 72ee0e247d)
2009-01-29 00:59:54 +00:00
Brian Paul
2fd9c2ebd6 intel: save/restore GL matrix mode in intel_meta_set_passthrough_transform(), intel_meta_restore_transform()
(cherry picked from master, commit 723648f2ee)
2009-01-29 00:59:53 +00:00
Brian Paul
e6df67bf66 docs: fix typo 2009-01-29 00:59:53 +00:00
Brian Paul
e98ef30351 mesa: set version to 7.4 for mesa_7_4_branch 2009-01-29 00:59:53 +00:00
Brian Paul
b987fde60a docs: skeleton 7.4 release notes file 2009-01-29 00:59:53 +00:00
Brian Paul
978a6c1cfa docs: 7.3 md5 sums 2009-01-29 00:59:53 +00:00
Brian Paul
93cbb2c205 mesa: set version to 7.3 2009-01-29 00:59:53 +00:00
Brian Paul
4e8d99998f docs: set 7.3 release date 2009-01-29 00:59:52 +00:00
Brian Paul
bbcbf4f680 docs: assorted updates, link fixes 2009-01-29 00:59:52 +00:00
Ian Romanick
425c803c03 intel: Fix up some extension string issues
Move the remaining extension string enables to intel_extensions.c.
Make sure that GL_NV_texture_env_combine4 is not enabled on i830.
2009-01-28 16:28:11 -08:00
Ian Romanick
d485ee54dd Make GLX_SGIX_pbuffer mandatory
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28 16:28:11 -08:00
Ian Romanick
8aa209c766 Make GL_ARB_draw_buffers mandatory
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28 16:28:11 -08:00
Ian Romanick
474cda6fa9 Make GL_{EXT,SUN}_multi_draw_arrays and GL_IBM_multimode_draw_arrays mandatory
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28 16:28:11 -08:00
Ian Romanick
82b9661894 Make GL_ARB_vertex_buffer_object mandatory
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28 16:28:10 -08:00
Ian Romanick
2b77b1d62e Make GL_ARB_multisample mandatory
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28 16:28:10 -08:00
Ian Romanick
33fa5e4bfa Make GL_ARB_texture_compression mandatory
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28 16:28:10 -08:00
Brian Paul
26da28c995 mesa: remove GL_SGIX_shadow, GL_SGIX_shadow_ambient and GL_SGIX_depth_texture
Everyone should be using the newer/better ARB versions of these extensions.
2009-01-28 16:49:28 -07:00
Jakob Bornecrantz
e74be3f08e intel: Fix type correctly this time
Facepalm.
2009-01-28 23:40:10 +01:00
Jakob Bornecrantz
b5fc2a68e8 intel: Fix typo 2009-01-28 23:37:23 +01:00
Jakob Bornecrantz
72b2733287 i915: Add verbose debuging
Only enabled while in development this commit
	will be reverted in the future.
2009-01-28 23:28:10 +01:00
Jakob Bornecrantz
1642dd2f86 i915: Fix batchbuffer dumping 2009-01-28 23:28:10 +01:00
Jakob Bornecrantz
2012739043 i915: Flush on surface copy/clear 2009-01-28 23:28:09 +01:00
Jakob Bornecrantz
26fe7a5fc4 intel: Supply the correct buffers to gem 2009-01-28 23:28:09 +01:00
Brian Paul
f584752afe docs: document GL_EXT_texture_swizzle 2009-01-28 15:06:54 -07:00
Jakob Bornecrantz
2cb6b17bc8 gallium: Build EGL st when build glx st 2009-01-28 23:06:42 +01:00
Jakob Bornecrantz
585c10b46d egl: Adopt to st_framebuffer changes 2009-01-28 23:06:04 +01:00