Commit graph

21154 commits

Author SHA1 Message Date
José Fonseca
7996b3e034 pipebuffer: Consider 0 as no alignment needed. 2009-01-30 14:06:25 +00:00
Zack Rusin
b3028acd98 gallium: give the screen priority when it comes to buffer allocations
allows the driver to overwrite buffer allocation, first step on the way
to making winsys interface internal to the drivers. state trackers and
the code above it will go through the screen
2009-01-29 21:43:15 -05:00
Jakob Bornecrantz
1f9fff28a4 gallium: Don't build egl state_tracker 2009-01-30 02:24:47 +01:00
Jakob Bornecrantz
0ac83a0ebb egl: Don't fill shown screen 2009-01-30 01:57:07 +01:00
Jakob Bornecrantz
83a2a89663 intel: Remove debug print 2009-01-30 01:55:09 +01:00
Jakob Bornecrantz
48f7d86b7c i915: Fix surface operations 2009-01-30 01:53:50 +01:00
Brian Paul
1d4f3ccb21 intel: remove unused intel_depthstencil.[ch] 2009-01-29 15:07:32 -07:00
Brian Paul
d332a74e77 intel: remove unused #includes 2009-01-29 15:06:55 -07:00
Brian Paul
5fec84ad04 mesa: allow glFramebufferTexture1/2/3D(target = GL_READ/DRAW_FRAMEBUFFER)
This is part of GL_EXT_framebuffer_blit and GL_ARB_framebuffer_obbject.
2009-01-29 15:01:09 -07:00
Brian Paul
5c38801f8e intel: formatting clean-ups 2009-01-29 14:57:31 -07:00
Brian Paul
ba3aadf354 intel: fix check for Y orientation in span functions. 2009-01-29 14:57:16 -07:00
Brian Paul
d3aa16d92f i965: use bitfields in brw_sf_unit_key struct 2009-01-29 11:10:56 -07:00
Brian Paul
818bda3d74 intel: remove unused intel_rendering_to_texture() 2009-01-29 11:07:55 -07:00
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
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